Publish production docker image #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / Publish production docker imageInvalid workflow file
|
||
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 |