Skip to content

Commit

Permalink
frontend docker build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfgebhardt committed Feb 26, 2024
1 parent fd7f7e6 commit 2069fff
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/file-filters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ frontend-test-unit-code: &frontend-test-unit-code
frontend-test-build-code: &frontend-test-build-code
- 'frontend/**/*'

frontend-test-build-docker: &frontend-test-build-docker
- 'frontend/**/*'

frontend-test-build-docs: &frontend-test-build-docs
- 'frontend/**/*.md'
- 'frontend/.vuepress/*'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,27 @@ jobs:
name: Build Docker Production - Frontend
needs: files-changed
runs-on: ubuntu-latest
env:
WORKING_DIRECTORY: ./frontend
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Frontend | Build Docker Production
run: docker compose -f docker-compose.yml build
working-directory: ${{env.WORKING_DIRECTORY}}

build-development:
if: needs.files-changed.outputs.changes == 'true'
name: Build Docker Development - Frontend
needs: files-changed
runs-on: ubuntu-latest
env:
WORKING_DIRECTORY: ./frontend
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Frontend | Build Docker Development
run: docker compose build
run: docker compose build
working-directory: ${{env.WORKING_DIRECTORY}}

0 comments on commit 2069fff

Please sign in to comment.