diff --git a/.github/workflows/api-gateway.release.dev.yml b/.github/workflows/api-gateway.release.dev.yml index b9e5424b6..e36e340e0 100644 --- a/.github/workflows/api-gateway.release.dev.yml +++ b/.github/workflows/api-gateway.release.dev.yml @@ -61,13 +61,17 @@ jobs: - uses: actions/checkout@v3 - name: Build locally run: yarn build:api-gateway - - name: Publish to Registry - uses: elgohr/Publish-Docker-Github-Action@v4 + - name: Login to Docker Hub + uses: docker/login-action@v2 with: - name: standardnotes/api-gateway username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - tags: "dev,${{ github.sha }}" + - name: Build, tag, and push image to Docker Hub + run: | + yarn docker build @standardnotes/api-gateway -t standardnotes/api-gateway:${{ github.sha }} + docker push standardnotes/api-gateway:${{ github.sha }} + docker tag standardnotes/api-gateway:${{ github.sha }} standardnotes/api-gateway:dev + docker push standardnotes/api-gateway:dev deploy-web: needs: publish-aws-ecr diff --git a/.github/workflows/files.release.dev.yml b/.github/workflows/files.release.dev.yml index 3287527aa..1852d70e8 100644 --- a/.github/workflows/files.release.dev.yml +++ b/.github/workflows/files.release.dev.yml @@ -62,13 +62,17 @@ jobs: - uses: actions/checkout@v3 - name: Build locally run: yarn build:files - - name: Publish to Registry - uses: elgohr/Publish-Docker-Github-Action@v4 + - name: Login to Docker Hub + uses: docker/login-action@v2 with: - name: standardnotes/files username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - tags: "dev,${{ github.sha }}" + - name: Build, tag, and push image to Docker Hub + run: | + yarn docker build @standardnotes/files-server -t standardnotes/files:${{ github.sha }} + docker push standardnotes/files:${{ github.sha }} + docker tag standardnotes/files:${{ github.sha }} standardnotes/files:dev + docker push standardnotes/files:dev deploy-web: needs: publish-aws-ecr diff --git a/.github/workflows/syncing-server.release.dev.yml b/.github/workflows/syncing-server.release.dev.yml index b4f0b70dc..ee3d77fc9 100644 --- a/.github/workflows/syncing-server.release.dev.yml +++ b/.github/workflows/syncing-server.release.dev.yml @@ -62,13 +62,17 @@ jobs: - uses: actions/checkout@v3 - name: Build locally run: yarn build:syncing-server - - name: Publish to Registry - uses: elgohr/Publish-Docker-Github-Action@v4 + - name: Login to Docker Hub + uses: docker/login-action@v2 with: - name: standardnotes/syncing-server-js username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - tags: "dev,${{ github.sha }}" + - name: Build, tag, and push image to Docker Hub + run: | + yarn docker build @standardnotes/syncing-server -t standardnotes/syncing-server-js:${{ github.sha }} + docker push standardnotes/syncing-server-js:${{ github.sha }} + docker tag standardnotes/syncing-server-js:${{ github.sha }} standardnotes/syncing-server-js:dev + docker push standardnotes/syncing-server-js:dev deploy-web: needs: publish-aws-ecr