Skip to content

Commit

Permalink
chore: docker release image versions with full, major, major.minor an…
Browse files Browse the repository at this point in the history
…d latest tags (#1853)
  • Loading branch information
KEGustafsson authored Dec 29, 2024
1 parent a4a59b4 commit 6c0781b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ jobs:
images: |
signalk/signalk-server
ghcr.io/signalk/signalk-server
tags: |
type=semver,pattern={{raw}}
type=semver,pattern=v{{major}},enable=${{ !contains(github.ref, 'beta') }}
type=semver,pattern=v{{major}}.{{minor}},enable=${{ !contains(github.ref, 'beta') }}
type=raw,value=latest,enable=${{ !contains(github.ref, 'beta') }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand All @@ -184,7 +189,7 @@ jobs:
file: ./docker/Dockerfile_rel
platforms: linux/amd64,linux/arm/v7,linux/arm64
push: true
tags: $tag
tags: ${{ steps.meta.outputs.tags }}
build-args: |
TAG=${{ steps.vars.outputs.tag }}
Expand Down

0 comments on commit 6c0781b

Please sign in to comment.