Skip to content

build(deps): bump aquasecurity/trivy-action from 0.27.0 to 0.28.0 in the actions group #1786

build(deps): bump aquasecurity/trivy-action from 0.27.0 to 0.28.0 in the actions group

build(deps): bump aquasecurity/trivy-action from 0.27.0 to 0.28.0 in the actions group #1786

Workflow file for this run

name: Docker build
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
setup:
if: github.event_name == 'pull_request'
outputs:
is_fork: ${{ steps.fork.outputs.is_fork }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Identify if the PR comes from a fork
id: fork
run: echo "is_fork=$(gh pr view --json isCrossRepository --jq .isCrossRepository)" >> $GITHUB_OUTPUT
docker-build:
needs: setup
permissions:
contents: read
packages: write
uses: scality/workflows/.github/workflows/docker-build.yaml@v2
with:
name: runner-manager
namespace: ${{ github.repository_owner }}
tag: ${{ github.ref_name == 'main' && 'latest' || github.sha }}
push: ${{ needs.setup.outputs.is_fork == 'true' && false || true }}