24 lines
522 B
YAML
24 lines
522 B
YAML
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
|