From 61fcdec1e185f479a49b356a713f5624afa67d47 Mon Sep 17 00:00:00 2001 From: Dylan Guo <80776877@qq.com> Date: Tue, 30 Jan 2024 17:55:11 +0800 Subject: [PATCH] Update docker-image.yml --- .github/workflows/docker-image.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 758c790c..bc7a5009 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -15,11 +15,13 @@ jobs: steps: - name: Check out the repo uses: actions/checkout@v2 + - name: Log in to Docker Hub uses: docker/login-action@v1 with: username: ${{ secrets.DOCKER_HUB_ACCOUNT }} password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} + - name: Build and push main app Docker image uses: docker/build-push-action@v2 with: @@ -36,11 +38,13 @@ jobs: uses: actions/checkout@v2 with: submodules: 'true' + - name: Log in to Docker Hub uses: docker/login-action@v1 with: username: ${{ secrets.DOCKER_HUB_ACCOUNT }} password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} + - name: Build and push website Docker image uses: docker/build-push-action@v2 with: @@ -48,3 +52,12 @@ jobs: file: deploy/Dockerfile.proxy push: true tags: connectai/gitmaya-proxy:latest + + - name: Build and push website Docker image-SaaS + uses: docker/build-push-action@v2 + with: + context: . + file: deploy/Dockerfile.proxy.saas + push: true + tags: connectai/gitmaya-proxy:saas +