From 89b244571601005b775e6092da55048b87f9f068 Mon Sep 17 00:00:00 2001 From: Manuel Amador Date: Thu, 22 Aug 2024 17:42:34 +0200 Subject: [PATCH] Tag in cache. --- .github/workflows/rollout-dashboard.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rollout-dashboard.yaml b/.github/workflows/rollout-dashboard.yaml index a1cd11f..29aa170 100644 --- a/.github/workflows/rollout-dashboard.yaml +++ b/.github/workflows/rollout-dashboard.yaml @@ -88,12 +88,9 @@ jobs: - uses: docker/metadata-action@v5 id: metadata with: - images: ghcr.io/${{ github.repository }}/rollout-dashboard + images: ghcr.io/${{ github.repository }}/cache tags: | type=schedule - type=ref,event=branch - type=ref,event=tag - type=ref,event=pr type=sha,format=long - uses: docker/login-action@v3 with: @@ -104,6 +101,7 @@ jobs: name: Create rollout-dashboard container with: push: true + tags: ${{ steps.metadata.outputs.tags }} labels: ${{ steps.metadata.outputs.labels }} cache: true cache-repository: ghcr.io/${{ github.repository }}/cache