Skip to content

Commit 8cbcadd

Browse files
committed
Set latest tag for docker dev releases
1 parent 449ffae commit 8cbcadd

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/.build-push-docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
images: ${{ inputs.registry }}/${{ inputs.image_name }}
5353
tags: |
5454
type=semver,pattern={{version}},enable=${{ inputs.version_tag != '' }},value=${{ inputs.version_tag }}
55-
type=raw,value=${{ inputs.raw_tag }},enable=${{ inputs.raw_tag != '' }}
55+
type=raw,value=${{ inputs.raw_tag }}
5656
type=raw,value=latest,enable=${{ inputs.latest_tag }}
5757
5858
- name: "Build${{ inputs.push && ' and push' || '' }}"

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
with:
3131
image_name: ${{ github.repository }}
3232
raw_tag: dev+${{ github.sha }}
33+
latest_tag: true # we only have dev releases at the moment
3334
dockerfile: ./packaging/docker/Dockerfile
3435
push: true
3536
cache_mode: max
@@ -39,6 +40,7 @@ jobs:
3940
with:
4041
image_name: ${{ github.repository }}-worker
4142
raw_tag: dev+${{ github.sha }}
43+
latest_tag: true # we only have dev releases at the moment
4244
dockerfile: ./packaging/docker/worker.Dockerfile
4345
push: true
4446
cache_mode: off # cache is really slow for this file

0 commit comments

Comments
 (0)