Skip to content

Publish production docker image #1

Publish production docker image

Publish production docker image #1

name: Publish production docker image
on:
create:
tags:
- '*'
jobs:
release_version:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.version.outputs.version }}
steps:
- id: version
run: echo "::set-output name=version::${GITHUB_REF#refs/*/}"
publish_production_docker:
needs: date_sha_tag

Check failure on line 18 in .github/workflows/on-main-publish-tag-artifacts.yml

View workflow run for this annotation

GitHub Actions / Publish production docker image

Invalid workflow file

The workflow is not valid. .github/workflows/on-main-publish-tag-artifacts.yml (Line: 18, Col: 12): Job 'publish_production_docker' depends on unknown job 'date_sha_tag'.
uses: ./.github/workflows/on-demand-publish-docker-image.yml
with:
tags: |
ghcr.io/wepublish/hauptstadt:${{ needs.release_version.outputs.version }}
ghcr.io/wepublish/hauptstadt:latest
secrets: inherit