@@ -118,6 +118,9 @@ jobs:
118
118
steps :
119
119
- uses : actions/checkout@v4
120
120
121
+ - name : Set up Docker Buildx
122
+ uses : docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
123
+
121
124
- name : Log in to the Elastic Container registry
122
125
uses : docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
123
126
with :
@@ -142,10 +145,11 @@ jobs:
142
145
suffix=${{ contains(matrix.dockerfile, 'wolfi') && '-wolfi' || '' }}
143
146
144
147
- name : Build and push image
145
- id : push
148
+ id : docker- push
146
149
uses : docker/build-push-action@1a162644f9a7e87d8f4b053101d1d9a712edc18c # v6.3.0
147
150
with :
148
151
context : .
152
+ platforms : linux/amd64,linux/arm64
149
153
push : true
150
154
file : ${{ matrix.dockerfile }}
151
155
tags : ${{ steps.docker-meta.outputs.tags }}
@@ -157,7 +161,7 @@ jobs:
157
161
uses : actions/attest-build-provenance@bdd51370e0416ac948727f861e03c2f05d32d78e # v1.3.2
158
162
with :
159
163
subject-name : " ${{ env.DOCKER_IMAGE_NAME }}"
160
- subject-digest : ${{ steps.push.outputs.digest }}
164
+ subject-digest : ${{ steps.docker- push.outputs.digest }}
161
165
push-to-registry : true
162
166
163
167
github-draft :
@@ -196,7 +200,7 @@ jobs:
196
200
with :
197
201
needs : ${{ toJSON(needs) }}
198
202
- if : startsWith(github.ref, 'refs/tags')
199
- uses : elastic/oblt-actions/slack/notify-result@v1.7.0
203
+ uses : elastic/oblt-actions/slack/notify-result@v1
200
204
with :
201
205
bot-token : ${{ secrets.SLACK_BOT_TOKEN }}
202
206
channel-id : " #apm-agent-python"
0 commit comments