Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
freeziyou authored Jan 30, 2024
1 parent 36ad43d commit 61fcdec
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -36,15 +38,26 @@ 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:
context: .
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

0 comments on commit 61fcdec

Please sign in to comment.