From ec0ec9fe80cff8ba1f99c8df04fcd01f7ac45b58 Mon Sep 17 00:00:00 2001 From: morbalint Date: Tue, 12 Mar 2024 23:37:37 +0100 Subject: [PATCH] ci: try fix the docker build and push --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3bba314..929bf57 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,8 +36,10 @@ jobs: push: true load: true tags: | - registry.digitalocean.com/kemkas/kemkas-be:${{ env.GITHUB_SHA_SHORT }} ghcr.io/${{ github.repository_owner }}/kemkas-backend:${{ env.GITHUB_SHA_SHORT }} + - run: | + docker tag ghcr.io/${{ github.repository_owner }}/kemkas-backend:${{ env.GITHUB_SHA_SHORT }} registry.digitalocean.com/kemkas/kemkas-be:${{ env.GITHUB_SHA_SHORT }} + docker push registry.digitalocean.com/kemkas/kemkas-be:${{ env.GITHUB_SHA_SHORT }} - uses: actions/checkout@v4 with: repository: morbalint/kemkas-deployment