Add GitHub actions (#3)

* create workflows folder
This commit is contained in:
Ivan Panteleev 2023-04-04 12:29:12 +03:00 committed by GitHub
parent bccbf367dd
commit 46d00bb0aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
.github/workflows/docker-build.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Build and publish Docker image
on:
push:
branches:
- 'master'
workflow_dispatch:
env:
REGISTRY: ghcr.io
jobs:
build-push:
runs-on: ubuntu-latest
steps:
- uses: valitydev/action-deploy-docker@v2
with:
registry-username: ${{ github.actor }}
registry-access-token: ${{ secrets.GITHUB_TOKEN }}
platforms: linux/amd64,linux/arm64