fix: ci pull container image before tagging

This commit is contained in:
2023-10-26 13:28:38 +02:00
parent fa01e67289
commit 380eb3f3c8
+1
View File
@@ -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: |