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 c4b2f14
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Detect latest item from matrix
run: |
echo "IS_LATEST_VERSION=$([ $(expr ${{ strategy.job-index }} + 1) = ${{ strategy.job-total }} ] && true || false)" >> "$GITHUB_ENV"
- name: debug
run: |
echo "$IS_LATEST_VERSION"
- name: Docker meta
id: meta
uses: docker/[email protected]
Expand All @@ -44,6 +52,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=$IS_LATEST_VERSION
flavor: |
latest=false
Expand Down

0 comments on commit c4b2f14

Please sign in to comment.