From 49ba3be44adb9832ff03b5aa8284963a32632934 Mon Sep 17 00:00:00 2001 From: Simon Bihel Date: Mon, 30 May 2022 11:19:08 +0100 Subject: [PATCH] Add Docker CI --- .github/workflows/docker.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/docker.yml 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