From 380eb3f3c825ae93e56c71d503a6f6f91873b521 Mon Sep 17 00:00:00 2001 From: Balint Morasz Date: Thu, 26 Oct 2023 13:28:38 +0200 Subject: [PATCH] fix: ci pull container image before tagging --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9bb83d..60189e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,6 +64,7 @@ jobs: run: doctl registry login --expiry-seconds 1200 - name: Tag container image with latest tag run: | + docker pull registry.digitalocean.com/kemkas/kemkas:${GITHUB_SHA::8} docker tag registry.digitalocean.com/kemkas/kemkas:${GITHUB_SHA::8} registry.digitalocean.com/kemkas/kemkas:latest - name: Push image to Container Registry run: |