From 74aedbccfe0213ab7bec2140154f6c2de3d391ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20S=C3=B3jko?= Date: Fri, 8 Jul 2022 12:45:12 +0200 Subject: [PATCH] fix: publishing final image to docker hub --- .github/workflows/api-gateway.release.yml | 2 +- .github/workflows/auth.release.yml | 2 +- .github/workflows/files.release.yml | 2 +- .github/workflows/syncing-server.release.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/api-gateway.release.yml b/.github/workflows/api-gateway.release.yml index e800ff2b8..f16836afd 100644 --- a/.github/workflows/api-gateway.release.yml +++ b/.github/workflows/api-gateway.release.yml @@ -99,7 +99,7 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} - name: Publish Docker image as stable run: | - docker tag standardnotes/api-gateway:${{ github.sha }} standardnotes/api-gateway:latest + yarn docker build @standardnotes/api-gateway -t standardnotes/api-gateway:latest docker push standardnotes/api-gateway:latest deploy-web: diff --git a/.github/workflows/auth.release.yml b/.github/workflows/auth.release.yml index 8706ba404..ba1502383 100644 --- a/.github/workflows/auth.release.yml +++ b/.github/workflows/auth.release.yml @@ -102,7 +102,7 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} - name: Publish Docker image as stable run: | - docker tag standardnotes/auth:${{ github.sha }} standardnotes/auth:latest + yarn docker build @standardnotes/auth-server -t standardnotes/auth:latest docker push standardnotes/auth:latest deploy-web: diff --git a/.github/workflows/files.release.yml b/.github/workflows/files.release.yml index 53f174023..a907d0d04 100644 --- a/.github/workflows/files.release.yml +++ b/.github/workflows/files.release.yml @@ -102,7 +102,7 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} - name: Build, tag, and push image to Docker Hub run: | - docker tag standardnotes/files:${{ github.sha }} standardnotes/files:latest + yarn docker build @standardnotes/files-server -t standardnotes/files:latest docker push standardnotes/files:latest deploy-web: diff --git a/.github/workflows/syncing-server.release.yml b/.github/workflows/syncing-server.release.yml index 3165c26c3..a2f06d216 100644 --- a/.github/workflows/syncing-server.release.yml +++ b/.github/workflows/syncing-server.release.yml @@ -102,7 +102,7 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} - name: Build, tag, and push image to Docker Hub run: | - docker tag standardnotes/syncing-server-js:${{ github.sha }} standardnotes/syncing-server-js:latest + yarn docker build @standardnotes/syncing-server -t standardnotes/syncing-server-js:latest docker push standardnotes/syncing-server-js:latest deploy-web: