Skip to content

Commit

Permalink
ci release fix
Browse files Browse the repository at this point in the history
  • Loading branch information
metachris committed Nov 7, 2022
1 parent 5259ced commit 3dc7bab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Expand Up @@ -36,9 +36,9 @@ jobs:
tags: |
type=sha
type=semver,pattern={{version}}
type=raw,value=latest,enable=${{ !contains($RELEASE_VERSION, '-') }}
type=semver,pattern={{major}},enable=${{ !contains($RELEASE_VERSION, '-') }}
type=semver,pattern={{major}}.{{minor}},enable=${{ !contains($RELEASE_VERSION, '-') }}
type=raw,value=latest,enable=${{ !contains(env.RELEASE_VERSION, '-') }}
type=semver,pattern={{major}},enable=${{ !contains(env.RELEASE_VERSION, '-') }}
type=semver,pattern={{major}}.{{minor}},enable=${{ !contains(env.RELEASE_VERSION, '-') }}
- name: Login to DockerHub
uses: docker/login-action@v2
Expand All @@ -52,7 +52,7 @@ jobs:
context: .
push: true
build-args: |
VERSION=${{ $RELEASE_VERSION }}
VERSION=${{ env.RELEASE_VERSION }}
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit 3dc7bab

Please sign in to comment.