Skip to content

Commit 66eb829

Browse files
committed
fix: use sha commit hash
Signed-off-by: Tomas Weiss <tomas.weiss2@gmail.com>
1 parent 4932c50 commit 66eb829

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-agent.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ jobs:
5050

5151
- name: Build and Push
5252
run: |
53-
uvx --from "./beeai-platform/apps/beeai-cli" beeai build ./ --tag ghcr.io/${{ github.repository }}/my-agent:latest --no-import --multi-platform
54-
docker push --force ghcr.io/${{ github.repository }}/my-agent:latest
53+
uvx --from "./beeai-platform/apps/beeai-cli" beeai build ./ --tag ghcr.io/${{ github.repository }}/my-agent:${{ github.sha }} --no-import --multi-platform
54+
docker push ghcr.io/${{ github.repository }}/my-agent:${{ github.sha }}

0 commit comments

Comments
 (0)