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 3117f48 commit bf35de6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker-image-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ jobs:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GIT_HUB_TOKEN }}
- name: Hash commit ID
run: GIT_HASH=$(git rev-parse --short "$GITHUB_SHA")
- name: Replace version variable
run: sed -i 's/{{RELEASE_TAG}}/beta-${{github.event.ref}}/g' files/config.go # Replace release variable with the name of this release
run: sed -i 's/{{RELEASE_TAG}}/beta-$GIT_HASH/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 bf35de6

Please sign in to comment.