Skip to content
Prev Previous commit
Next Next commit
revert update .env
Signed-off-by: Jared Tan <jian.tan@daocloud.io>
  • Loading branch information
JaredTan95 committed Oct 19, 2022
commit 750943b4f10ddb7d1d7178d44742263eeaf45ded
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,17 @@ jobs:
with:
fetch-depth: 0

- name: Update .env
run: sed -i "s/IMAGE_VERSION=.*/IMAGE_VERSION=${RELEASE_VERSION}/" .env

- name: Commit updated .env file
uses: test-room-7/action-update-file@v1
with:
file: .env
commit-message: "Update .env file with release version"
branch: main
github-token: ${{ secrets.GITHUB_TOKEN }}

# limit docker push image concurrency to 1
# to avoid github package return 429 ratelimit error
- name: Set docker upload concurrent
Expand Down