Skip to content

Commit 702f46f

Browse files
committed
agent: fix container ci
1 parent 349406f commit 702f46f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build_agent_container.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,11 @@ jobs:
5151
- name: Build the agent container image
5252
run: |
5353
cd agent
54-
REGISTRY=${REGISTRY@L} make docker-build-only
54+
export TAGS="-t ${REGISTRY@L}/${{env.IMAGE_NAME}}/agent:${{ github.sha }}"
55+
export REGISTRY=${REGISTRY@L}
56+
make docker-build-only
5557
env:
56-
AGENT_IMAGE: ${{env.IMAGE_NAME}}/agent
57-
TAGS: -t ${{ env.REGISTRY@L }}/${{env.IMAGE_NAME}}/agent:${{ github.sha }}
58+
AGENT_IMAGE: ${{env.IMAGE_NAME}}/agent
5859

5960
# 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).
6061
- name: Generate artifact attestation

0 commit comments

Comments
 (0)