fix: ci pull container image before tagging
This commit is contained in:
@@ -64,6 +64,7 @@ jobs:
|
|||||||
run: doctl registry login --expiry-seconds 1200
|
run: doctl registry login --expiry-seconds 1200
|
||||||
- name: Tag container image with latest tag
|
- name: Tag container image with latest tag
|
||||||
run: |
|
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
|
docker tag registry.digitalocean.com/kemkas/kemkas:${GITHUB_SHA::8} registry.digitalocean.com/kemkas/kemkas:latest
|
||||||
- name: Push image to Container Registry
|
- name: Push image to Container Registry
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user