From 5b5ef831cea8a0faedb5de688218a0de06dc3ce3 Mon Sep 17 00:00:00 2001 From: aunefyren Date: Thu, 21 Dec 2023 11:01:14 +0100 Subject: [PATCH] Update docker-image-beta.yml --- .github/workflows/docker-image-beta.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-image-beta.yml b/.github/workflows/docker-image-beta.yml index cec344c..8a5397f 100644 --- a/.github/workflows/docker-image-beta.yml +++ b/.github/workflows/docker-image-beta.yml @@ -41,11 +41,11 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GIT_HUB_TOKEN }} - name: Hash commit ID - run: GIT_HASH=$(git rev-parse --short "$GITHUB_SHA") + run: echo "GIT_HASH=$(git rev-parse --short '$GITHUB_SHA')" >> $GITHUB_ENV - name: test - run: echo $GIT_HASH + run: echo $GITHUB_ENV - name: Replace version variable - run: sed -i 's/{{RELEASE_TAG}}/beta-$GIT_HASH/g' files/config.go # Replace release variable with the name of this release + run: sed -i 's/{{RELEASE_TAG}}/beta-$GITHUB_ENV/g' files/config.go # Replace release variable with the name of this release - name: Build and push uses: docker/build-push-action@v3 with: