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 29, 2024
1 parent f42c853 commit 365717c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ on:
paths:
- '**'
- 'website/**'
workflow_dispatch:

jobs:
build-main-app:
runs-on: ubuntu-latest
if: contains(github.event.head_commit.modified, 'website/') == false
steps:
- name: Check out the repo
uses: actions/checkout@v2
Expand All @@ -28,9 +30,12 @@ jobs:

build-website:
runs-on: ubuntu-latest
if: contains(github.event.head_commit.modified, 'website/')
steps:
- name: Check out the repo
uses: actions/checkout@v2
with:
submodules: 'true'
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
Expand All @@ -39,7 +44,7 @@ jobs:
- name: Build and push website Docker image
uses: docker/build-push-action@v2
with:
context: website
context: ./website
file: deploy/Dockerfile.proxy
push: true
tags: connectai/gitmaya-proxy:latest

0 comments on commit 365717c

Please sign in to comment.