Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

fix(ci): broken CI/CD (#71)

Matt Kilgoreb4be462ce502
diff --git a/.github/workflows/docker-publish-rootless.yaml b/.github/workflows/docker-publish-rootless.yaml
index f5322894..663447d0 100644
--- a/.github/workflows/docker-publish-rootless.yaml
+++ b/.github/workflows/docker-publish-rootless.yaml
@@ -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
@@ -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
\ No newline at end of file
+ push-to-registry: true
diff --git a/.github/workflows/docker-publish.yaml b/.github/workflows/docker-publish.yaml
index 9458d39c..7f076427 100644
--- a/.github/workflows/docker-publish.yaml
+++ b/.github/workflows/docker-publish.yaml
@@ -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
@@ -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
\ No newline at end of file
+ push-to-registry: true