Skip to content

Commit

Permalink
Merge pull request #3 from Eyevinn/fix-gui-version-build
Browse files Browse the repository at this point in the history
fix: generate correct gui-version on build
  • Loading branch information
permobergedge authored Aug 29, 2024
2 parents 85ee6d5 + 87321f9 commit 90fbda8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,19 @@ jobs:
latest=false
tags: type=sha

- name: Extract GUI version
id: gui
env:
TAGS: ${{ steps.meta.outputs.tags }}
run: echo "::set-output name=version::${TAGS##*:}"

- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
push: true
build-args: |
GUI_VERSION=${{ steps.meta.outputs.tags }}
GUI_VERSION=${{ steps.gui.outputs.version }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64

0 comments on commit 90fbda8

Please sign in to comment.