Combined PR #852
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test project | |
on: | |
push: | |
branches-ignore: | |
- "main" | |
pull_request: | |
jobs: | |
build-project-directly: | |
name: "Build project directly" | |
uses: ./.github/workflows/build-project.yml | |
with: | |
uploadArtifacts: true | |
includeReports: true | |
build-docker: | |
needs: build-project-directly | |
name: Build Docker images for Docker Hub | |
uses: ./.github/workflows/build-docker.yml | |
with: | |
appEnvironment: "github" | |
pushImages: false | |
secrets: | |
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | |
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} | |
build-project-in-docker: | |
name: Build Docker images for local | |
uses: ./.github/workflows/build-docker.yml | |
with: | |
appEnvironment: "local" | |
pushImages: false | |
secrets: | |
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | |
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} | |