fix(deps): update quarkus.platform.version to v3.25.4 #704
Workflow file for this run
This file contains hidden or 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 push image | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- | |
uses: dorny/paths-filter@v3 | |
id: filter | |
with: | |
filters: | | |
golang: | |
- 'go/**' | |
python: | |
- 'python/**' | |
- | |
name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- | |
name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- | |
name: Login to Quay.io Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: quay.io | |
username: ${{ secrets.QUAYIO_USERNAME }} | |
password: ${{ secrets.QUAYIO_TOKEN }} | |
- | |
name: Build go app image | |
if: steps.filter.outputs.golang == 'true' | |
uses: docker/build-push-action@v6 | |
with: | |
context: go | |
push: true | |
tags: | | |
quay.io/acend/example-web-go:pr-${{ github.event.pull_request.number }} | |
- | |
name: Run vulnerability scanner | |
if: steps.filter.outputs.golang == 'true' | |
uses: aquasecurity/trivy-action@master | |
with: | |
image-ref: 'quay.io/acend/example-web-go:pr-${{ github.event.pull_request.number }}' | |
format: 'table' | |
output: 'trivy-results-go.txt' | |
exit-code: '0' | |
ignore-unfixed: true | |
vuln-type: 'os' | |
severity: 'CRITICAL,HIGH' | |
- | |
name: Archive vulnerability scan results | |
if: steps.filter.outputs.golang == 'true' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: trivy-results-go-main | |
path: trivy-results-go.txt | |
- | |
name: Build python app image | |
if: steps.filter.outputs.python == 'true' | |
uses: docker/build-push-action@v6 | |
with: | |
context: python | |
push: true | |
tags: | | |
quay.io/acend/example-web-python:pr-${{ github.event.pull_request.number }} | |
- | |
name: Run vulnerability scanner | |
if: steps.filter.outputs.python == 'true' | |
uses: aquasecurity/trivy-action@master | |
with: | |
image-ref: 'quay.io/acend/example-web-python:pr-${{ github.event.pull_request.number }}' | |
format: 'table' | |
output: 'trivy-results-py.txt' | |
exit-code: '0' | |
ignore-unfixed: true | |
vuln-type: 'os' | |
severity: 'CRITICAL,HIGH' | |
- | |
name: Archive vulnerability scan results | |
if: steps.filter.outputs.python == 'true' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: trivy-results-py-main | |
path: trivy-results-py.txt |