Add Docker CI

This commit is contained in:
Simon Bihel 2022-05-30 11:19:08 +01:00
parent b172f31d40
commit 49ba3be44a
No known key found for this signature in database
GPG Key ID: B7013150BEAA28FD

23
.github/workflows/docker.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Publish Docker
on:
push:
branches: [ main ]
release:
types: [published, created, edited]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build and push image
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: spruceid/siwe_oidc
username: ${{ github.actor }}
password: ${{ secrets.GH_PACKAGE_PUSH_TOKEN }}
registry: ghcr.io
tag_names: true
tag_semver: true
snapshot: true