Skip to content

Commit

Permalink
set APP_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
GoliathLabs committed Oct 10, 2024
1 parent 69822a8 commit 509ec40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
labels: |
org.opencontainers.image.authors=${{ env.AUTHOR }}
- name: Read APP_VERSION from file
id: app_version
run: echo "APP_VERSION=$(cat APP_VERSION)" >> $GITHUB_ENV
- name: Build Docker image
uses: docker/build-push-action@v6
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
labels: |
org.opencontainers.image.authors=${{ env.AUTHOR }}
- name: Read APP_VERSION from file
id: app_version
run: echo "APP_VERSION=$(cat APP_VERSION)" >> $GITHUB_ENV
- name: Build container image
uses: docker/build-push-action@v6
with:
Expand Down

0 comments on commit 509ec40

Please sign in to comment.