Skip to content

Commit

Permalink
fix(ci): broken CI/CD (#71)
Browse files Browse the repository at this point in the history
* fix(ci): broken CI/CD

* fix(ci): rootless docker build

* Update .github/workflows/docker-publish-rootless.yaml

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
tankerkiller125 and coderabbitai[bot] authored Jun 28, 2024
1 parent a3f4c97 commit b4be462
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docker-publish-rootless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ jobs:
cache-to: type=gha,mode=max
build-args: |
VERSION=${{ github.ref_name }}
COMMIT=$(git rev-parse HEAD)
BUILD_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
COMMIT=${{ github.sha }}
- name: Attest
uses: actions/attest-build-provenance@v1
Expand All @@ -98,4 +97,4 @@ jobs:
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
subject-digest: ${{ steps.build-and-push.outputs.digest }}
push-to-registry: true
push-to-registry: true
5 changes: 2 additions & 3 deletions .github/workflows/docker-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ jobs:
cache-to: type=gha,mode=max
build-args: |
VERSION=${{ github.ref_name }}
COMMIT=$(git rev-parse HEAD)
BUILD_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
COMMIT=${{ github.sha }}
- name: Attest
uses: actions/attest-build-provenance@v1
Expand All @@ -95,4 +94,4 @@ jobs:
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
subject-digest: ${{ steps.build-and-push.outputs.digest }}
push-to-registry: true
push-to-registry: true

0 comments on commit b4be462

Please sign in to comment.