From acba533397dbfaf54f26a9bc5c5b199e46f2a0f5 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Sun, 1 Dec 2024 21:34:34 +0100 Subject: [PATCH] chore: fix ci commit --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2a8764a55..502177e27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,7 +81,7 @@ jobs: tags: koenkk/zigbee2mqtt:latest-dev,ghcr.io/koenkk/zigbee2mqtt:latest-dev push: true build-args: | - COMMIT=$(git rev-parse --short HEAD) + COMMIT=${{ github.sha }} - name: release - Docker build and push if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'push' @@ -94,7 +94,7 @@ jobs: tags: koenkk/zigbee2mqtt:latest,ghcr.io/koenkk/zigbee2mqtt:latest,koenkk/zigbee2mqtt:${{ github.ref_name }},ghcr.io/koenkk/zigbee2mqtt:${{ github.ref_name }} push: true build-args: | - COMMIT=$(git rev-parse --short HEAD) + COMMIT=${{ github.sha }} - name: 'release: Publish to npm' if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'push'