improvement(PTFE-3166): update GitHub Actions to Node 24-compatible versions #1864
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: 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@v6 | |
| - 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 }} |