Skip to content

Commit 349406f

Browse files
committed
agent: fix container ci
1 parent 4acec8b commit 349406f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build_agent_container.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,13 @@ jobs:
4848
- name: Set up Docker Buildx
4949
uses: docker/setup-buildx-action@v3
5050

51-
- name: Check outputs
52-
run: cd agent && make docker-build-only
51+
- name: Build the agent container image
52+
run: |
53+
cd agent
54+
REGISTRY=${REGISTRY@L} make docker-build-only
5355
env:
5456
AGENT_IMAGE: ${{env.IMAGE_NAME}}/agent
55-
TAGS: -t ${{ env.REGISTRY }}/${{env.IMAGE_NAME}}/agent:${{ github.sha }}
57+
TAGS: -t ${{ env.REGISTRY@L }}/${{env.IMAGE_NAME}}/agent:${{ github.sha }}
5658

5759
# This step generates an artifact attestation for the image, which is an unforgeable statement about where and how it was built. It increases supply chain security for people who consume the image. For more information, see [AUTOTITLE](/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).
5860
- name: Generate artifact attestation

0 commit comments

Comments
 (0)