Add Docker CI
This commit is contained in:
parent
b172f31d40
commit
49ba3be44a
23
.github/workflows/docker.yml
vendored
Normal file
23
.github/workflows/docker.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user