name: Publish Docker on: push: branches: [ main ] release: types: [published, created, edited] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - name: Install Docker run: | apt-get update apt-get install curl curl -fsSL https://get.docker.com | sh - name: Build and push image uses: elgohr/Publish-Docker-Github-Action@v5 with: name: nathanwoodburnwoodburn/eth-oidc username: nathanwoodburn password: ${{ secrets.DOCKERGIT_TOKEN }} registry: git.woodburn.au tag_names: true tag_semver: true snapshot: true