Skip to content

Commit

Permalink
fix(build): pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EliotAmn committed Jan 19, 2025
1 parent 153ad90 commit 87060be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,18 @@ jobs:
platforms: linux/amd64,linux/arm64/v8
push: ${{ github.event_name != 'pull_request' }}
tags: |
${{ env.REGISTRY_IMAGE }}:${{ env.VERSION }}
${{ env.REGISTRY_IMAGE }}:${{ env.VERSION || 'latest' }}
labels: |
org.opencontainers.image.title=${{ github.event.repository.name }}
org.opencontainers.image.description=${{ github.event.repository.description }}
org.opencontainers.image.url=${{ github.event.repository.html_url }}
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.version=${{ env.VERSION }}
org.opencontainers.image.version=${{ env.VERSION || 'latest' }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
build-args: |
BUILDTIME=${{ steps.meta.outputs.labels['org.opencontainers.image.created'] }}
VERSION=${{ steps.meta.outputs.labels['org.opencontainers.image.version'] }}
VERSION=${{ steps.meta.outputs.labels['org.opencontainers.image.version'] || 'latest' }}
# - name: Sign Docker images
# if: github.event_name != 'pull_request'
Expand Down

0 comments on commit 87060be

Please sign in to comment.