File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626jobs :
2727 build_and_push :
2828 name : Build and push dynamic and static harvest source images
29- runs-on : ubuntu-latest
29+ runs-on : ubuntu-24.04-arm
3030 permissions :
3131 packages : write
3232 env :
@@ -42,31 +42,37 @@ jobs:
4242 with :
4343 ref : ${{ inputs.gitRef || github.ref }}
4444 show-progress : false
45+ - name : Setup Docker BuildX
46+ uses : docker/setup-buildx-action@v3
4547 - name : Build dynamic
4648 if : ${{ inputs.buildType == 'build_only' }}
4749 uses : docker/build-push-action@v6
4850 with :
4951 context : ./dynamic
52+ platforms : linux/arm64
5053 push : false
5154 tags : ghcr.io/alphagov/dynamic-ckan-harvest-source:${{ env.tag }}
5255 - name : Build static
5356 if : ${{ inputs.buildType == 'build_only' }}
5457 uses : docker/build-push-action@v6
5558 with :
5659 context : ./static
60+ platforms : linux/arm64
5761 push : false
5862 tags : ghcr.io/alphagov/static-ckan-harvest-source:${{ env.tag }}
5963 - name : Build and push dynamic
6064 if : ${{ inputs.buildType == 'build_push' || github.ref == 'refs/heads/main' }}
6165 uses : docker/build-push-action@v6
6266 with :
6367 context : ./dynamic
68+ platforms : linux/arm64
6469 push : true
6570 tags : ghcr.io/alphagov/dynamic-ckan-harvest-source:${{ env.tag }}
6671 - name : Build and push static
6772 if : ${{ inputs.buildType == 'build_push' || github.ref == 'refs/heads/main' }}
6873 uses : docker/build-push-action@v6
6974 with :
7075 context : ./static
76+ platforms : linux/arm64
7177 push : true
7278 tags : ghcr.io/alphagov/static-ckan-harvest-source:${{ env.tag }}
You can’t perform that action at this time.
0 commit comments