From 8ca98bed3d9d4a22c77a3e6197f46f072b0e2f5a Mon Sep 17 00:00:00 2001 From: scrungus <33693738+scrungus@users.noreply.github.com> Date: Mon, 19 Aug 2024 13:45:38 +0100 Subject: [PATCH] github.sha --- .github/workflows/publish-images.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-images.yaml b/.github/workflows/publish-images.yaml index 96f4664..b5bac62 100644 --- a/.github/workflows/publish-images.yaml +++ b/.github/workflows/publish-images.yaml @@ -16,6 +16,8 @@ jobs: steps: - name: Check out the repository uses: actions/checkout@v4 + with: + ref: ${{ github.sha }} - name: Login to GitHub Container Registry uses: docker/login-action@v3 @@ -43,4 +45,4 @@ jobs: platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.image-meta.outputs.tags }} - labels: ${{ steps.image-meta.outputs.labels }} \ No newline at end of file + labels: ${{ steps.image-meta.outputs.labels }}