Why it matters
A successful build proves the image was built. A response from the deployed revision tells you whether the change reached the user.
Core concepts
Build input
The Dockerfile describes the build. The build context is the directory the builder can read.
Delivery chain
A push triggers a GitHub Actions run. The workflow builds an image, pushes it to a registry and deploys it to the app.
Try it step by step
- Complete the first Azure lab. In the linked Microsoft quickstart, fork the JavaScript album API repo with its main branch to your GitHub account. Enable Actions in the fork.
- Replace the sample repo URL below with your fork. Use the sample’s src folder as the build context. Follow the CLI prompt to authorize the selected repository.
- Open the generated file under .github/workflows. Identify the trigger branch and the build and deploy steps.
- Make a small visible change to a sample response on that branch. Open its Actions run. Check the app’s revision and request the changed endpoint. Record the commit, run, revision and actual response.
Use the Bash example in a dedicated practice subscription or resource group. Check the result in the portal and keep the expected and actual outcomes together.
Worked example
If the pipeline is green but the endpoint returns yesterday’s response, compare the run’s commit, the deployed image and the revision receiving traffic.
REPO_URL="https://github.com/YOUR-ACCOUNT/YOUR-ALBUM-API-FORK"
az containerapp up \
--name fieldwork-api --resource-group rg-fieldwork-lab \
--environment fieldwork-env --location centralus \
--repo "$REPO_URL" --branch main --context-path ./srcCommon mistake
Checking only that a workflow ran. It may have run on another branch or deployed to a different app.
Practice exercise
Write a four-line release receipt for a change you can see in the response.
Check your understanding
Which observation completes your release receipt?
- A pushed commit
- A passing build
- The expected response from the intended deployed revision
Show answer
The expected response from the intended deployed revision. Keep the commit, image, revision and observed response connected.
Takeaway
Keep the commit, image, revision and observed response connected.