2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 11:21:24 +00:00

Auto latest behavior

This commit is contained in:
asonix 2024-02-08 17:58:19 -06:00
parent 2517e3660c
commit 5c551221b4

View file

@ -79,14 +79,13 @@ jobs:
with:
images: ${{ env.REGISTRY_IMAGE }}
flavor: |
latest=false
latest=auto
suffix=-${{ matrix.info.artifact }}
tags: |
type=raw,value=latest,enable={{ is_default_branch }}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=ref,event=branch
-
name: Set up QEMU
uses: https://github.com/docker/setup-qemu-action@v3
@ -173,13 +172,12 @@ jobs:
with:
images: ${{ env.REGISTRY_IMAGE }}
flavor: |
latest=false
latest=auto
tags: |
type=raw,value=latest,enable={{ is_default_branch }}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=ref,event=branch
-
name: Create manifest list and push
working-directory: /tmp/digests