We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22833ab commit 618d24cCopy full SHA for 618d24c
.github/workflows/release.yml
@@ -5,33 +5,7 @@ on:
5
types: [published]
6
7
jobs:
8
- update_env:
9
- runs-on: ubuntu-latest
10
- permissions:
11
- contents: write
12
- packages: write
13
-
14
- env:
15
- RELEASE_VERSION: "${{ github.event.release.tag_name }}"
16
17
- steps:
18
- - uses: actions/checkout@v3
19
- with:
20
- fetch-depth: 0
21
22
- - name: Update .env
23
- run: sed -i "s/IMAGE_VERSION=.*/IMAGE_VERSION=${RELEASE_VERSION}/" .env
24
25
- - name: Commit updated .env file
26
- uses: test-room-7/action-update-file@v1
27
28
- file-path: .env
29
- commit-msg: "Update .env file with release version"
30
- branch: main
31
- github-token: ${{ secrets.GITHUB_TOKEN }}
32
33
build_and_push_images:
34
- needs: update_env
35
runs-on: ubuntu-latest
36
permissions:
37
contents: read
0 commit comments