Skip to content

Commit d35aef8

Browse files
committed
Revert "Update docker builds workflow to push amd and arm images seperately"
This reverts commit 99a992e.
1 parent 5b5145f commit d35aef8

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.github/workflows/docker-image-build-push.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,15 @@ jobs:
3131
username: ${{ secrets.DOCKER_USERNAME }}
3232
password: ${{ secrets.DOCKER_PASSWORD }}
3333

34-
- name: Build and push AMD
34+
- name: Build and push
3535
uses: docker/build-push-action@v4
3636
with:
3737
context: .
38-
platforms: 'linux/amd64'
38+
platforms: ${{ github.event.inputs.repo_type == 'official' && 'linux/amd64,linux/arm64' || 'linux/amd64' }}
3939
push: true
4040
tags: ${{ github.event.inputs.repo_type == 'official' && 'nethermind/juno' || 'nethermindeth/juno' }}:${{ github.event.inputs.tag }}
4141

42-
- name: Build and push ARM
43-
if: github.event.inputs.repo_type == 'official'
44-
uses: docker/build-push-action@v4
45-
with:
46-
context: .
47-
platforms: 'linux/arm64'
48-
push: true
49-
tags: nethermind/juno:${{ github.event.inputs.tag }}
50-
5142
- name: Clean up environment
5243
if: always()
5344
run: |
54-
rm -f ${HOME}/.docker/config.json
45+
rm -f ${HOME}/.docker/config.json

0 commit comments

Comments
 (0)