Merge pull request 'feat(ci): add Docker validation jobs for frontend and backend' (!154) from update-pipelines into main
Reviewed-on: #154
This commit is contained in:
commit
aa8821bdc2
1 changed files with 30 additions and 0 deletions
|
@ -74,6 +74,36 @@ jobs:
|
|||
working-directory: ./backend
|
||||
run: gradle --stop
|
||||
|
||||
validate-docker-frontend:
|
||||
runs-on: ubuntu-latest
|
||||
name: Docker frontend validation
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Build
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: frontend/
|
||||
file: frontend/.docker/Dockerfile
|
||||
push: false
|
||||
|
||||
validate-docker-backend:
|
||||
runs-on: ubuntu-latest
|
||||
name: Docker backend validation
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Build
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: backend/
|
||||
file: backend/.docker/Dockerfile
|
||||
push: false
|
||||
|
||||
eslint:
|
||||
runs-on: ubuntu-latest
|
||||
name: eslint
|
||||
|
|
Reference in a new issue