Skip to content

Commit c0a5884

Browse files
committed
Fixing build job
1 parent 78895a8 commit c0a5884

1 file changed

Lines changed: 3 additions & 16 deletions

File tree

.github/workflows/_docker-build-push.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -63,29 +63,16 @@ jobs:
6363
with:
6464
images: ${{ env.IMAGE_NAME }}
6565

66-
- name: Setup repo
67-
uses: blockscout/actions/.github/actions/setup-multiarch-buildx@main
68-
id: setup
69-
with:
70-
docker-image: ${{ env.IMAGE_NAME }}
71-
docker-username: ${{ github.actor }}
72-
docker-password: ${{ secrets.GITHUB_TOKEN }}
73-
docker-remote-multi-platform: true
74-
docker-arm-host: ${{ secrets.ARM_RUNNER_HOSTNAME }}
75-
docker-arm-host-key: ${{ secrets.ARM_RUNNER_KEY }}
66+
- name: Set up Docker Buildx
67+
uses: docker/setup-buildx-action@v3
7668

7769
- name: Build and push
7870
uses: docker/build-push-action@v6
7971
with:
8072
context: ${{ inputs.docker-context-path || format('{0}/', inputs.service-name) }}
81-
file: ${{ inputs.dockerfile-path || format('{0}/Dockerfile', inputs.service-name) }}
82-
build-contexts: |
83-
proto=proto
73+
file: Dockerfile
8474
push: ${{ steps.tags_extractor.outputs.tags != '' }}
8575
tags: ${{ steps.tags_extractor.outputs.tags }}
86-
platforms: |
87-
linux/amd64
88-
linux/arm64/v8
8976
labels: ${{ steps.setup.outputs.docker-labels }}
9077
cache-from: type=registry,ref=${{ env.IMAGE_NAME }}:build-cache
9178
cache-to: ${{ github.ref == 'refs/heads/main' && format('type=registry,ref={0}:build-cache,mode=max', env.IMAGE_NAME) || '' }}

0 commit comments

Comments
 (0)