mirror of
https://github.com/believethehype/nostdress.git
synced 2026-06-21 07:48:23 -07:00
Create docker.yml
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
name: Docker build & push
|
||||
on:
|
||||
push:
|
||||
release:
|
||||
types: [published]
|
||||
jobs:
|
||||
build:
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
IMAGENAME: ${{ github.event.repository.name }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
name: Check out code
|
||||
- name: Docker build
|
||||
uses: mr-smithers-excellent/docker-build-push@v6
|
||||
id: build
|
||||
with:
|
||||
image: ${{ env.IMAGENAME }}
|
||||
registry: ${{ env.REGISTRY }}
|
||||
multiPlatform: true
|
||||
platform: linux/amd64,linux/arm64
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user