diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index ad8eb6e..31d7e1f 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -46,11 +46,11 @@ jobs: - name: Build image and push tag after web release # We push tags here because tags pushed by release-please do not trigger the tag-images workflow - if: ${{ steps.release.outputs['.--release_created'] }} + if: ${{ steps.release.outputs['release_created'] }} env: FULL_IMAGE_TO_PUSH_W_TAG: ${{ vars.AZURE_CONTAINER_REGISTRY_NAME }}.azurecr.io/data-management-suite/web run: | az acr login --name ${{ vars.AZURE_CONTAINER_REGISTRY_NAME }} - TAG_TO_PUSH=$(echo "${{ steps.release.outputs['.--tag_name']}}"| awk '{split($0,a,"web-"); print a[2]}') + TAG_TO_PUSH=$(echo "${{ steps.release.outputs['tag_name']}}"| awk '{split($0,a,"web-"); print a[2]}') echo "TAG_TO_PUSH: $TAG_TO_PUSH" docker buildx build --platform linux/amd64 --tag ${{ env.FULL_IMAGE_TO_PUSH_W_TAG }}:${{ github.sha }} --tag ${{ env.FULL_IMAGE_TO_PUSH_W_TAG }}:$TAG_TO_PUSH --push .