Skip to content

Fix imageid -> imageName #3

Fix imageid -> imageName

Fix imageid -> imageName #3

on:
push:
branches:
- main
jobs:
build:
permissions:
packages: write
uses: ./.github/workflows/reusable.build.yml

Check failure on line 10 in .github/workflows/build-and-deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-and-deploy.yml

Invalid workflow file

The workflow is not valid. In .github/workflows/build-and-deploy.yml (Line: 10, Col: 11): Error from called workflow bekk/github-actions-workshop/.github/workflows/reusable.build.yml@34a6c970142137db96bc56dc3a93bccf4c64b174 (Line: 20, Col: 18): Unexpected symbol: '"image'. Located at position 35 within expression: steps.build-push.outputs.metadata["image.name"]
with:
push: true
deploy-test:
needs: [build]
uses: ./.github/workflows/deploy.yml
with:
environment: test
imageName: ${{ needs.build.outputs.imageName }}
digest: ${{ needs.build.outputs.digest }}
deploy-prod:
needs: [build, deploy-test]
uses: ./.github/workflows/deploy.yml
with:
environment: production
imageName: ${{ needs.build.outputs.imageName }}
digest: ${{ needs.build.outputs.digest }}