27
27
- uses : actions/checkout@v4
28
28
- uses : ./.github/actions/packages
29
29
- name : generate build provenance
30
- uses : actions/attest-build-provenance@1c608d11d69870c2092266b3f9a6f3abbf17002c # v1.4.3
30
+ uses : actions/attest-build-provenance@520d128f165991a6c774bcb264f323e3d70747f4 # v2.2.0
31
31
with :
32
32
subject-path : " ${{ github.workspace }}/dist/*"
33
33
@@ -47,12 +47,12 @@ jobs:
47
47
path : dist
48
48
- name : Upload pypi.org
49
49
if : startsWith(github.ref, 'refs/tags')
50
- uses : pypa/gh-action-pypi-publish@0ab0b79471669eb3a4d647e625009c62f9f3b241
50
+ uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
51
51
with :
52
52
repository-url : https://upload.pypi.org/legacy/
53
53
- name : Upload test.pypi.org
54
54
if : ${{ ! startsWith(github.ref, 'refs/tags') }}
55
- uses : pypa/gh-action-pypi-publish@0ab0b79471669eb3a4d647e625009c62f9f3b241
55
+ uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
56
56
with :
57
57
repository-url : https://test.pypi.org/legacy/
58
58
66
66
- uses : actions/checkout@v4
67
67
- uses : ./.github/actions/build-distribution
68
68
- name : generate build provenance
69
- uses : actions/attest-build-provenance@1c608d11d69870c2092266b3f9a6f3abbf17002c # v1.4.3
69
+ uses : actions/attest-build-provenance@520d128f165991a6c774bcb264f323e3d70747f4 # v2.2.0
70
70
with :
71
71
subject-path : " ${{ github.workspace }}/build/dist/elastic-apm-python-lambda-layer.zip"
72
72
79
79
runs-on : ubuntu-latest
80
80
steps :
81
81
- uses : actions/checkout@v4
82
- - uses : actions/download-artifact@v3
82
+ - uses : actions/download-artifact@v4
83
83
with :
84
84
name : build-distribution
85
85
path : ./build
@@ -119,7 +119,7 @@ jobs:
119
119
- uses : actions/checkout@v4
120
120
121
121
- name : Set up Docker Buildx
122
- uses : docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
122
+ uses : docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8.0
123
123
124
124
- name : Log in to the Elastic Container registry
125
125
uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
@@ -128,14 +128,14 @@ jobs:
128
128
username : ${{ secrets.ELASTIC_DOCKER_USERNAME }}
129
129
password : ${{ secrets.ELASTIC_DOCKER_PASSWORD }}
130
130
131
- - uses : actions/download-artifact@v3
131
+ - uses : actions/download-artifact@v4
132
132
with :
133
133
name : build-distribution
134
134
path : ./build
135
135
136
136
- name : Extract metadata (tags, labels)
137
137
id : docker-meta
138
- uses : docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5 .1
138
+ uses : docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6 .1
139
139
with :
140
140
images : ${{ env.DOCKER_IMAGE_NAME }}
141
141
tags : |
@@ -146,7 +146,7 @@ jobs:
146
146
147
147
- name : Build and push image
148
148
id : docker-push
149
- uses : docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7 .0
149
+ uses : docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13 .0
150
150
with :
151
151
context : .
152
152
platforms : linux/amd64,linux/arm64
@@ -158,7 +158,7 @@ jobs:
158
158
AGENT_DIR=./build/dist/package/python
159
159
160
160
- name : generate build provenance (containers)
161
- uses : actions/attest-build-provenance@1c608d11d69870c2092266b3f9a6f3abbf17002c # v1.4.3
161
+ uses : actions/attest-build-provenance@520d128f165991a6c774bcb264f323e3d70747f4 # v2.2.0
162
162
with :
163
163
subject-name : " ${{ env.DOCKER_IMAGE_NAME }}"
164
164
subject-digest : ${{ steps.docker-push.outputs.digest }}
@@ -196,9 +196,9 @@ jobs:
196
196
- github-draft
197
197
steps :
198
198
- id : check
199
- uses : elastic/apm-pipeline-library/.github/ actions/check-dependent-jobs@current
199
+ uses : elastic/oblt- actions/check-dependent-jobs@v1
200
200
with :
201
- needs : ${{ toJSON(needs) }}
201
+ jobs : ${{ toJSON(needs) }}
202
202
- if : startsWith(github.ref, 'refs/tags')
203
203
uses : elastic/oblt-actions/slack/notify-result@v1
204
204
with :
0 commit comments