Skip to content

Commit 509ec40

Browse files
committed
set APP_VERSION
1 parent 69822a8 commit 509ec40

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Diff for: .github/workflows/build.yml

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3333
labels: |
3434
org.opencontainers.image.authors=${{ env.AUTHOR }}
35+
- name: Read APP_VERSION from file
36+
id: app_version
37+
run: echo "APP_VERSION=$(cat APP_VERSION)" >> $GITHUB_ENV
3538
- name: Build Docker image
3639
uses: docker/build-push-action@v6
3740
with:

Diff for: .github/workflows/publish.yml

+3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ jobs:
4444
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4545
labels: |
4646
org.opencontainers.image.authors=${{ env.AUTHOR }}
47+
- name: Read APP_VERSION from file
48+
id: app_version
49+
run: echo "APP_VERSION=$(cat APP_VERSION)" >> $GITHUB_ENV
4750
- name: Build container image
4851
uses: docker/build-push-action@v6
4952
with:

0 commit comments

Comments
 (0)