Skip to content

Commit

Permalink
forgot to adapt the release workflow with build args
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsnolde committed Jan 6, 2024
1 parent 7ea3a25 commit c7facd0
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/publish_tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v4

- name: Extract tag name
id: tag
- name: vroom tag
id: vroom_tag
run: echo ::set-output name=TAG::${GITHUB_REF#refs/tags/}

- name: vroom-express tag
id: vroom_express_tag
run: curl "https://api.github.com/repos/VROOM-Project/vroom/tags" | jq -r '.[0].name' >> GITHUB_OUTPUT

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand All @@ -40,7 +44,8 @@ jobs:
with:
context: .
push: true
build-args: ["VROOM_RELEASE=${{ steps.tag.outputs.VROOM_TAG }}", "VROOM_EXPRESS_RELEASE=${{ steps.tag.outputs.VROOM_EXPRESS_TAG }}"]
platforms: linux/amd64,linux/arm64
tags: ghcr.io/vroom-project/vroom-docker:${{ steps.tag.outputs.TAG }}"
tags: ghcr.io/vroom-project/vroom-docker:${{ steps.tag.outputs.VROOM_TAG }}"
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit c7facd0

Please sign in to comment.