build(deps): bump the python group with 11 updates (#687) #1779
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: 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 }} |