Skip to content

Commit

Permalink
chore: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
edouard-lopez committed Jan 24, 2024
1 parent 7d1f37f commit 4d6dcc0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Detect latest item from matrix
id: detect-latest-tag
run: echo "IS_LATEST=$([ $(expr ${{ strategy.job-index }} + 1) = ${{ strategy.job-total }} ] && echo true || echo false)" >> "$GITHUB_OUTPUT"

- name: Docker meta
id: meta
uses: docker/[email protected]
Expand All @@ -44,6 +48,7 @@ jobs:
# generate Docker tags based on the following events/attributes
tags: |
type=semver,pattern={{version}},value=${{matrix.version.fish}}
type=raw,value=latest,enable=${{ steps.detect-latest-tag.outputs.IS_LATEST }}
flavor: |
latest=false
Expand Down

0 comments on commit 4d6dcc0

Please sign in to comment.