From a68e81f6466e81489fe9e4021a5ceac12586903c Mon Sep 17 00:00:00 2001 From: Kai Lueke Date: Thu, 25 Apr 2024 23:44:17 +0900 Subject: [PATCH] Make 'latest' tag work for container image --- .github/workflows/release-container.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release-container.yml b/.github/workflows/release-container.yml index cb1637954..f14cdba29 100644 --- a/.github/workflows/release-container.yml +++ b/.github/workflows/release-container.yml @@ -25,6 +25,7 @@ jobs: latest=false tags: | type=ref,event=tag + type=raw,value=latest,enable=${{ github.ref != 'refs/tags/staging' }} type=match,pattern=\d.\d.\d,value=latest - name: Set up QEMU uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0 @@ -47,3 +48,5 @@ jobs: push: true platforms: linux/amd64,linux/arm64/v8 tags: ${{ steps.meta.outputs.tags }} + cache-from: type=gha + cache-to: type=gha,mode=max