mirror of
https://github.com/aunefyren/wrapperr
synced 2024-11-10 13:44:12 +00:00
Update docker-image-beta.yml
This commit is contained in:
parent
3a1046df60
commit
5b5ef831ce
1 changed files with 3 additions and 3 deletions
6
.github/workflows/docker-image-beta.yml
vendored
6
.github/workflows/docker-image-beta.yml
vendored
|
@ -41,11 +41,11 @@ jobs:
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GIT_HUB_TOKEN }}
|
password: ${{ secrets.GIT_HUB_TOKEN }}
|
||||||
- name: Hash commit ID
|
- 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
|
- name: test
|
||||||
run: echo $GIT_HASH
|
run: echo $GITHUB_ENV
|
||||||
- name: Replace version variable
|
- 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
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue