Update docker-image-beta.yml

This commit is contained in:
aunefyren 2023-12-21 11:01:14 +01:00
parent 3a1046df60
commit 5b5ef831ce

View file

@ -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: