build(deps): bump fastify from 5.7.4 to 5.8.1 #398
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 CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| # Use concurrency to deduplicate runs. | |
| # - For pull requests: group by `pr-<number>` so multiple commits to the same PR | |
| # cancel previous runs and only the latest is kept. | |
| # - For direct pushes: fall back to deduplicating by commit SHA so identical | |
| # commits don't trigger multiple concurrent workflows. | |
| # - Include the `github.workflow` name in the group to avoid cross-workflow collisions. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.sha }} | |
| cancel-in-progress: true | |
| # Minimize permissions for Docker CI; only allow read access to repo contents | |
| # and package write for pushing images to GHCR. | |
| permissions: | |
| contents: read | |
| packages: write | |
| env: | |
| REGISTRY: ghcr.io | |
| IMAGE_NAME: ${{ github.repository }} | |
| jobs: | |
| # `vars.ACTIONS_RUNNER_TYPE` is set on private repositories only. | |
| docker: | |
| runs-on: ${{ vars.ACTIONS_RUNNER_TYPE || 'ubuntu-latest' }} | |
| timeout-minutes: 5 | |
| continue-on-error: true | |
| steps: | |
| - name: Setup QEMU | |
| uses: docker/setup-qemu-action@v3 | |
| - name: Setup Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ${{ env.REGISTRY }} | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Docker Metadata | |
| id: meta | |
| uses: docker/metadata-action@v5 | |
| with: | |
| images: | | |
| ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
| tags: | | |
| type=sha | |
| type=ref,event=branch | |
| type=ref,event=pr | |
| test | |
| - name: Build and Push | |
| uses: docker/build-push-action@v6 | |
| with: | |
| push: true | |
| tags: ${{ steps.meta.outputs.tags }} | |
| labels: ${{ steps.meta.outputs.labels }} |