Update ci-pipeline.yml: capture logs only if failed; refresh envvar #868
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: make | |
on: | |
push: | |
branches: | |
- '**' | |
tags-ignore: | |
- '**' | |
schedule: | |
- cron: '0 4 5,25 * *' | |
jobs: | |
call-build-container-vreapis: | |
uses: ./.github/workflows/ci-pipeline.yml | |
with: | |
docker_folder: vreapis | |
tag: vreapi | |
push: false | |
secrets: | |
docker_username: ${{ secrets.DOCKERHUB_USERNAME }} | |
docker_password: ${{ secrets.DOCKERHUB_PASSWORD }} | |
call-build-container-vre-panel: | |
uses: ./.github/workflows/ci-pipeline.yml | |
strategy: | |
matrix: | |
environment: | |
- production | |
- test | |
with: | |
docker_folder: vre-panel | |
tag: vreapp | |
environment: ${{ matrix.environment }} | |
push: false | |
secrets: | |
docker_username: ${{ secrets.DOCKERHUB_USERNAME }} | |
docker_password: ${{ secrets.DOCKERHUB_PASSWORD }} |