Skip to content

Commit

Permalink
Update docker-image-beta.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aunefyren committed Dec 21, 2023
1 parent 3a1046d commit 5b5ef83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-image-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5b5ef83

Please sign in to comment.