diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml new file mode 100644 index 0000000..bc76c37 --- /dev/null +++ b/.github/workflows/docker.yml @@ -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