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 679fb77 commit c04fd9d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@ jobs:
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && !contains(github.event.head_commit.modified, 'website')) }}
steps:
- name: Check out the repo
uses: actions/checkout@v2

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 @@ -38,26 +36,22 @@ 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 c04fd9d

Please sign in to comment.