From 94a966ce32705357d3ded985591bb4326e50fd58 Mon Sep 17 00:00:00 2001 From: Balint Morasz Date: Thu, 26 Oct 2023 15:44:45 +0200 Subject: [PATCH] fix: docker forcing it's own registry --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c263b3..744b7e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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