Skip to content

Commit

Permalink
Build images before e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vejol committed Mar 6, 2024
1 parent 85621f7 commit c876f29
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,24 @@ jobs:
working-directory: ./frontend
run: |
npm ci
npm run lint
npm run lint
- name: Build backend
id: build-backend
uses: redhat-actions/buildah-build@v2
with:
image: backend
tags: latest ${{ github.sha }}
context: backend/
containerfiles: |
backend/Dockerfile
- name: Build frontend
id: build-frontend
uses: redhat-actions/buildah-build@v2
with:
image: frontend
tags: latest ${{ github.sha }}
context: frontend/
containerfiles: |
frontend/Dockerfile

0 comments on commit c876f29

Please sign in to comment.