From a15794923d33db6e0e48c03e9c83084862cc2b2e Mon Sep 17 00:00:00 2001 From: austbot Date: Mon, 17 Jun 2024 15:38:01 -0500 Subject: [PATCH] fix build context --- .github/workflows/build-containers.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-containers.yaml b/.github/workflows/build-containers.yaml index bf558be..75d1584 100644 --- a/.github/workflows/build-containers.yaml +++ b/.github/workflows/build-containers.yaml @@ -31,7 +31,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Extract Version from Cargo.toml - run: echo "VERSION=$GITHUB_BRANCH-$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].version')" >> $GITHUB_ENV + run: echo "VERSION=$GITHUB_HEAD_REF-$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].version')" >> $GITHUB_ENV working-directory: ./relay - name: Build and Push Docker Image