Skip to content

Commit

Permalink
just do the same as for vroom-express tag
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsnolde committed Jan 23, 2024
1 parent de81363 commit 1a020de
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/publish_tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v4

# sure there's better ways, but not having the patience for the mess
- name: vroom tag
id: vroom_tag
run: echo "TAG=$(curl --silent 'https://api.github.com/repos/VROOM-Project/vroom/tags' | jq -r '.[0].name')" >> GITHUB_OUTPUT

- name: vroom-express tag
id: vroom_express_tag
run: echo "TAG=$(curl --silent 'https://api.github.com/repos/VROOM-Project/vroom-express/tags' | jq -r '.[0].name')" >> GITHUB_OUTPUT
Expand All @@ -41,9 +46,9 @@ jobs:
context: .
push: true
build-args: |
VROOM_RELEASE=${{ github.ref_name }}
VROOM_RELEASE=${{ steps.vroom_tag.outputs.TAG }}
VROOM_EXPRESS_RELEASE=${{ steps.vroom_express_tag.outputs.TAG }}
platforms: linux/amd64,linux/arm64
tags: ghcr.io/vroom-project/vroom-docker:${{ github.ref_name }}"
tags: ghcr.io/vroom-project/vroom-docker:${{ steps.vroom_tag.outputs.TAG }}"
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit 1a020de

Please sign in to comment.