Skip to content

fix(workflows): remove obsolete containerImageName param from deploy step#63

Merged
emmanuelknafo merged 1 commit into
mainfrom
feature/62-fix-containerimagename-deploy
Jul 19, 2026
Merged

fix(workflows): remove obsolete containerImageName param from deploy step#63
emmanuelknafo merged 1 commit into
mainfrom
feature/62-fix-containerimagename-deploy

Conversation

@emmanuelknafo

Copy link
Copy Markdown
Contributor

Summary

Fixes the failing Deploy Azure Infrastructure job in cicd.yml.

After the ADO sync (commit d3e5ba1), the containerImageName parameter was removed from the Bicep templates (main.bicep, resources.bicep), but .github/workflows/cicd.yml still passed --parameters containerImageName=$containerImageName. Azure rejects deployments that supply undeclared parameters, so az deployment sub create exited with code 1.

Changes

  • Removed the obsolete $containerImageName variable.
  • Removed the --parameters containerImageName=$containerImageName line from the deploy step.

The container image is configured separately via ACR managed identity + docker push, matching the new Bicep contract. The ADO pipeline was already correct — the GitHub workflow was the only side not updated during the sync.

Fixes #62

…step

The ADO sync removed containerImageName from the Bicep templates, but the
GitHub workflow still passed it, causing az deployment sub create to fail
with exit code 1. Remove the variable and parameter to match the new Bicep
contract; the container image is configured separately via ACR managed
identity and docker push.

Fixes #62
@emmanuelknafo
emmanuelknafo requested a review from CalinL as a code owner July 19, 2026 20:17
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 80b16b9.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@emmanuelknafo
emmanuelknafo merged commit 74cdb1f into main Jul 19, 2026
28 checks passed
@emmanuelknafo
emmanuelknafo deleted the feature/62-fix-containerimagename-deploy branch July 19, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix failing Deploy Azure Infrastructure job: obsolete containerImageName parameter

1 participant