fix: docker forcing it's own registry

This commit is contained in:
2023-10-26 15:44:45 +02:00
parent 702e302f3d
commit 94a966ce32
+8 -2
View File
@@ -56,8 +56,14 @@ jobs:
context: frontend/
cache-from: type=gha
cache-to: type=gha,mode=max
push: true
tags: registry.digitalocean.com/kemkas/kemkas:${GITHUB_SHA::8}
push: false
tags: kemkas:${GITHUB_SHA::8}
- name: Tag container image
run: |
docker tag kemkas:${GITHUB_SHA::8} registry.digitalocean.com/kemkas/kemkas:${GITHUB_SHA::8}
- name: Push image to Container Registry
run: |
docker push registry.digitalocean.com/kemkas/kemkas:latest
deploy:
runs-on: ubuntu-latest