Skip to content

Commit af3184f

Browse files
JOYclaude
andcommitted
ci: adapt Docker build workflow for DOS fork
- Change runs-on from blockscout self-hosted runner to ubuntu-latest - Disable multi-platform build (no ARM runner available) - Update image tags from ghcr.io/blockscout/blockscout to ghcr.io/dos/doscan - Remove ARM runner secrets references Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 697b47c commit af3184f

2 files changed

Lines changed: 9 additions & 15 deletions

File tree

.github/actions/setup-repo/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ inputs:
1717
docker-image:
1818
description: 'Docker image'
1919
required: true
20-
default: ghcr.io/blockscout/blockscout
20+
default: ghcr.io/dos/doscan
2121
outputs:
2222
docker-builder:
2323
description: 'Docker builder'

.github/workflows/publish-regular-docker-image-on-demand.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,27 @@ permissions:
1414
jobs:
1515
push_to_registry:
1616
name: Push Docker image to GitHub Container Registry
17-
runs-on: build
17+
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v5
2020
- name: Setup repo
2121
uses: ./.github/actions/setup-repo
2222
id: setup
2323
with:
2424
github-token: ${{ secrets.GITHUB_TOKEN }}
25-
docker-remote-multi-platform: true
26-
docker-arm-host: ${{ secrets.ARM_RUNNER_HOSTNAME }}
27-
docker-arm-host-key: ${{ secrets.ARM_RUNNER_KEY }}
25+
docker-remote-multi-platform: false
2826

2927
- name: Build and push Docker image (indexer + API)
3028
uses: docker/build-push-action@v6
3129
with:
3230
context: .
3331
file: ./docker/Dockerfile
3432
push: true
35-
cache-from: type=registry,ref=ghcr.io/blockscout/blockscout:buildcache
36-
cache-to: type=registry,ref=ghcr.io/blockscout/blockscout:buildcache,mode=max
37-
tags: ghcr.io/blockscout/blockscout:${{ env.RELEASE_VERSION }}.commit.${{ env.SHORT_SHA }}
33+
cache-from: type=registry,ref=ghcr.io/dos/doscan:buildcache
34+
cache-to: type=registry,ref=ghcr.io/dos/doscan:buildcache,mode=max
35+
tags: ghcr.io/dos/doscan:${{ env.RELEASE_VERSION }}.commit.${{ env.SHORT_SHA }}
3836
labels: ${{ steps.setup.outputs.docker-labels }}
39-
platforms: |
40-
linux/amd64
41-
linux/arm64/v8
37+
platforms: linux/amd64
4238
build-args: |
4339
DECODE_NOT_A_CONTRACT_CALLS=false
4440
MIXPANEL_URL=
@@ -54,11 +50,9 @@ jobs:
5450
context: .
5551
file: ./docker/Dockerfile
5652
push: true
57-
tags: ghcr.io/blockscout/blockscout:${{ env.RELEASE_VERSION }}.commit.${{ env.SHORT_SHA }}-indexer
53+
tags: ghcr.io/dos/doscan:${{ env.RELEASE_VERSION }}.commit.${{ env.SHORT_SHA }}-indexer
5854
labels: ${{ steps.setup.outputs.docker-labels }}
59-
platforms: |
60-
linux/amd64
61-
linux/arm64/v8
55+
platforms: linux/amd64
6256
build-args: |
6357
DISABLE_API=true
6458
DECODE_NOT_A_CONTRACT_CALLS=false

0 commit comments

Comments
 (0)