From 3c5d32a55f82e17d8099697c79d76a5f83cfcdad Mon Sep 17 00:00:00 2001 From: anteqkois Date: Sun, 5 May 2024 11:54:29 +0200 Subject: [PATCH] ci(github actions): fix registry link --- .github/workflows/build-and-deploy.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index b2bfd5fb..cd18b397 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -38,8 +38,7 @@ jobs: run: npm run docker-base - name: Tag base image run: - docker tag linkerry/base \ - registry.digitalocean.com/linkerry/base:latest + docker tag linkerry/base registry.digitalocean.com/linkerry/base:latest # Install doctl. - name: Install doctl uses: digitalocean/action-doctl@v2 @@ -53,8 +52,7 @@ jobs: run: docker build -t linkerry/web -f ./apps/web/Dockerfile . --platform=linux/amd64 - name: Tag web image run: - docker tag linkerry/web \ - registry.digitalocean.com/linkerry/web:latest + docker tag linkerry/web registry.digitalocean.com/linkerry/web:latest - name: Push image to DO Container Registry run: docker push registry.digitalocean.com/linkerry/web:latest # - run: npx nx@18.3.4 affected -t docker-compose --base=origin/master~1 --head=origin/master