13
13
runs-on : ubuntu-latest
14
14
# Release-please creates a PR that tracks all changes
15
15
steps :
16
- - uses : google-github-actions/release-please-action@v3
16
+ - uses : google-github-actions/release-please-action@db8f2c60ee802b3748b512940dde88eabd7b7e01 # v3
17
17
id : release
18
18
with :
19
19
command : manifest
@@ -29,20 +29,20 @@ jobs:
29
29
if : ${{ needs.release-please.outputs.release_created }}
30
30
steps :
31
31
- name : Checkout
32
- uses : actions/checkout@v4
32
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
33
33
with :
34
34
ref : ${{ needs.release-please.outputs.release_tag_name }}
35
35
36
36
- name : Log in to the Container registry
37
- uses : docker/login-action@v2
37
+ uses : docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2
38
38
with :
39
39
registry : ${{ env.REGISTRY }}
40
40
username : ${{ github.actor }}
41
41
password : ${{ secrets.GITHUB_TOKEN }}
42
42
43
43
- name : Extract metadata (tags, labels) for Docker
44
44
id : meta
45
- uses : docker/metadata-action@v4
45
+ uses : docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4
46
46
with :
47
47
images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
48
48
@@ -51,15 +51,15 @@ jobs:
51
51
run : echo "::set-output name=date::$(date +'%Y-%m-%d')"
52
52
53
53
- name : Set up QEMU
54
- uses : docker/setup-qemu-action@v3
54
+ uses : docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3
55
55
56
56
- name : Set up Docker Buildx
57
- uses : docker/setup-buildx-action@v3
57
+ uses : docker/setup-buildx-action@aa33708b10e362ff993539393ff100fa93ed6a27 # v3
58
58
with :
59
59
platforms : linux/amd64,linux/arm64
60
60
61
61
- name : Build App Container
62
- uses : docker/build-push-action@v4
62
+ uses : docker/build-push-action@0a97817b6ade9f46837855d676c4cca3a2471fc9 # v4
63
63
with :
64
64
context : .
65
65
file : ./packages/app/Dockerfile
76
76
DATE=${{ steps.date.outputs.date }}
77
77
78
78
- name : Build Fibonacci Service Container
79
- uses : docker/build-push-action@v4
79
+ uses : docker/build-push-action@0a97817b6ade9f46837855d676c4cca3a2471fc9 # v4
80
80
with :
81
81
context : .
82
82
file : ./packages/fibonacci-service/Dockerfile
0 commit comments