3131 steps :
3232 # Checkout fork code - safe because no secrets are available for building
3333 - name : Checkout code
34- uses : actions/checkout@v6
34+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3535
3636 # Log PR author for auditing
3737 - name : Log PR author
4040 echo "PR #${{ github.event.pull_request.number }} from fork: ${{ github.event.pull_request.head.repo.full_name }}"
4141
4242 - name : Setup Node.js
43- uses : actions/setup-node@v6
43+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
4444 with :
4545 node-version-file : ' .nvmrc'
4646 cache : ' npm'
5252
5353 # Generate canary tag
5454 - id : meta
55- uses : docker/metadata-action@v5
55+ uses : docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
5656 with :
5757 images : |
5858 supabase/postgres-meta
@@ -62,37 +62,37 @@ jobs:
6262 type=raw,value=canary-pr-${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.sha }}
6363 type=raw,value=canary-pr-${{ github.event.pull_request.number }}
6464
65- - uses : docker/setup-qemu-action@v3
65+ - uses : docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
6666 with :
6767 platforms : amd64,arm64
68- - uses : docker/setup-buildx-action@v3
68+ - uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
6969
7070 - name : Login to DockerHub
71- uses : docker/login-action@v3
71+ uses : docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
7272 with :
7373 username : ${{ secrets.DOCKER_USERNAME }}
7474 password : ${{ secrets.DOCKER_PASSWORD }}
7575
7676 - name : configure aws credentials
77- uses : aws-actions/configure-aws-credentials@v5
77+ uses : aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
7878 with :
7979 role-to-assume : ${{ secrets.PROD_AWS_ROLE }}
8080 aws-region : us-east-1
8181
8282 - name : Login to ECR
83- uses : docker/login-action@v3
83+ uses : docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
8484 with :
8585 registry : public.ecr.aws
8686
8787 - name : Login to GHCR
88- uses : docker/login-action@v3
88+ uses : docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
8989 with :
9090 registry : ghcr.io
9191 username : ${{ github.actor }}
9292 password : ${{ secrets.GITHUB_TOKEN }}
9393
9494 - name : Build and push canary image
95- uses : docker/build-push-action@v6
95+ uses : docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
9696 with :
9797 context : .
9898 push : true
0 commit comments