diff --git a/.github/workflows/build-deploy-on-release.yaml b/.github/workflows/build-deploy-on-release.yaml index 5f52a5a..f2a5fbf 100644 --- a/.github/workflows/build-deploy-on-release.yaml +++ b/.github/workflows/build-deploy-on-release.yaml @@ -20,7 +20,7 @@ jobs: uses: mlibrary/platform-engineering-workflows/.github/workflows/deploy.yml@v1 with: environment: aim - image: ghcr.io/mlibrary/${{ vars.IMAGE_NAME }}:${{ github.event.inputs.tag }} + image: ghcr.io/mlibrary/${{ vars.IMAGE_NAME }}:${{ github.event.release.tag_name }} file: environments/alma-events/production/web-image.txt secrets: inherit @@ -30,6 +30,6 @@ jobs: uses: mlibrary/platform-engineering-workflows/.github/workflows/deploy.yml@v1 with: environment: search - image: ghcr.io/mlibrary/${{ vars.IMAGE_NAME }}:${{ github.event.inputs.tag }} + image: ghcr.io/mlibrary/${{ vars.IMAGE_NAME }}:${{ github.event.release.tag_name }} file: environments/alma-events/production/web-image.txt secrets: inherit