From 63323306b11c3d77b1d63ecf0273c1555e469b2f Mon Sep 17 00:00:00 2001 From: David Kocher Date: Tue, 14 Jan 2025 11:38:39 +0100 Subject: [PATCH] Fix ref. --- .github/workflows/duck.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/duck.yml b/.github/workflows/duck.yml index a5ede1e80d2..6ca38697eaa 100644 --- a/.github/workflows/duck.yml +++ b/.github/workflows/duck.yml @@ -35,6 +35,8 @@ jobs: echo "VERSION=$VERSION" >> "$GITHUB_ENV" - name: Print Version run: echo "Building $VERSION" + - name: Print Tag + run: echo "Checkout $TAG" - name: Extract metadata (tags, labels) for Docker id: meta uses: docker/metadata-action@v5 @@ -52,7 +54,7 @@ jobs: - name: checkout uses: actions/checkout@v4 with: - ref: $TAG + ref: ${{ env.$TAG } fetch-depth: 0 - run: | export COUNT=$(git rev-list --count $GITHUB_SHA)