Skip to content

Commit

Permalink
Update docker.yml
Browse files Browse the repository at this point in the history
Fix meta version
  • Loading branch information
unix-system authored Jul 24, 2024
1 parent 4111dcf commit bbfed4a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
VERSION: ${{ github.ref_type == 'tag' && '${{ needs.build.outputs.version }}' || '${{ github.sha }}' }}

jobs:
build:
Expand Down Expand Up @@ -82,7 +81,7 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
VERSION=${{ env.VERSION }}
VERSION=${{ github.ref_type == 'tag' && steps.meta.outputs.version || github.sha }}
secrets: |
SHA=${{ github.sha }}
SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}
Expand Down

0 comments on commit bbfed4a

Please sign in to comment.