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 +