diff --git a/.github/workflows/container.yaml b/.github/workflows/container.yaml index 29e03a7fa..2a983f988 100644 --- a/.github/workflows/container.yaml +++ b/.github/workflows/container.yaml @@ -124,7 +124,7 @@ jobs: steps: - id: meta_development - if: needs.context.check.type == 'development' + if: needs.context.outputs.type == 'development' name: Docker Meta (development) uses: docker/metadata-action@v4 with: @@ -134,17 +134,17 @@ jobs: type=ref,event=branch - id: meta_release - if: needs.context.check.type == 'release' + if: needs.context.outputs.type == 'release' name: Docker Meta (release) uses: docker/metadata-action@v4 with: images: | "${{ secrets.DOCKER_HUB_USERNAME }}/${{secrets.DOCKER_HUB_REPOSITORY_NAME }}" tags: | - type=semver,value=${{ needs.context.check.version }},pattern={{raw}} - type=semver,value=${{ needs.context.check.version }},pattern={{version}} - type=semver,value=${{ needs.context.check.version }},pattern=v{{major}} - type=semver,value=${{ needs.context.check.version }},pattern={{major}}.{{minor}} + type=semver,value=${{ needs.context.outputs.version }},pattern={{raw}} + type=semver,value=${{ needs.context.outputs.version }},pattern={{version}} + type=semver,value=${{ needs.context.outputs.version }},pattern=v{{major}} + type=semver,value=${{ needs.context.outputs.version }},pattern={{major}}.{{minor}} - id: login name: Login to Docker Hub