Skip to content

Commit

Permalink
Merge pull request #41 from Razz4780/tag-with-commit-hash
Browse files Browse the repository at this point in the history
Added commit sha tag to all pushed images
  • Loading branch information
Razz4780 authored Jan 22, 2025
2 parents aa0232c + 9e1f5c1 commit f66af55
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/agent-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/metalbear-co/ci-agent-runtime:latest
ghcr.io/metalbear-co/ci-agent-runtime:latest
ghcr.io/metalbear-co/ci-agent-runtime:${{ github.sha }}
3 changes: 2 additions & 1 deletion .github/workflows/docs-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/metalbear-co/ci-docs-build:latest
ghcr.io/metalbear-co/ci-docs-build:latest
ghcr.io/metalbear-co/ci-docs-build:${{ github.sha }}
4 changes: 3 additions & 1 deletion .github/workflows/layer-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
push: true
tags: |
ghcr.io/metalbear-co/ci-layer-build:latest
ghcr.io/metalbear-co/ci-layer-build:${{ github.sha }}
- name: Build and push
uses: docker/build-push-action@v6
with:
Expand All @@ -41,4 +42,5 @@ jobs:
platforms: linux/amd64
push: true
tags: |
ghcr.io/metalbear-co/ci-layer-build-aarch64:latest
ghcr.io/metalbear-co/ci-layer-build-aarch64:latest
ghcr.io/metalbear-co/ci-layer-build-aarch64:${{ github.sha }}
3 changes: 2 additions & 1 deletion .github/workflows/tests-runner-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ jobs:
platforms: linux/amd64
push: true
tags: |
ghcr.io/metalbear-co/ci-tests-runner-build:latest
ghcr.io/metalbear-co/ci-tests-runner-build:latest
ghcr.io/metalbear-co/ci-tests-runner:${{ github.sha }}

0 comments on commit f66af55

Please sign in to comment.