Skip to content

Commit 819b870

Browse files
authored
ci: Only publish manifest for amd for spark-k8s-with-scikit-learn image (#114)
1 parent 871d3bb commit 819b870

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/dev_spark-k8s-with-scikit-learn.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
- {name: "ubuntu-latest", arch: "amd64"}
3030
# TODO: the image 3.5.0-stackable24.3.0 does not have an arm64 build.
3131
# Re-activate the arm runner when the image is updated to one that does.
32+
# Also adjust publish_manifest step to include arm architecture
3233
#- {name: "ubicloud-standard-8-arm", arch: "arm64"}
3334
steps:
3435
- name: Checkout Repository
@@ -72,6 +73,7 @@ jobs:
7273
- name: Checkout Repository
7374
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
7475

76+
# TODO: remove image-architecture key once arm image is also built
7577
- name: Publish and Sign Image Index Manifest to docker.stackable.tech
7678
uses: stackabletech/actions/publish-index-manifest@013e6482fbc0edf2d38cf9220fc931f6a81336fb # v0.0.6
7779
with:
@@ -80,7 +82,9 @@ jobs:
8082
image-registry-password: ${{ secrets.NEXUS_PASSWORD }}
8183
image-repository: demos/${{ env.IMAGE_NAME }}
8284
image-index-manifest-tag: ${{ env.IMAGE_VERSION }}
85+
image-architectures: '["amd64"]'
8386

87+
# TODO: remove image-architecture key once arm image is also built
8488
- name: Publish and Sign Image Index Manifest to oci.stackable.tech
8589
uses: stackabletech/actions/publish-index-manifest@013e6482fbc0edf2d38cf9220fc931f6a81336fb # v0.0.6
8690
with:
@@ -89,3 +93,4 @@ jobs:
8993
image-registry-password: ${{ secrets.HARBOR_ROBOT_STACKABLE_GITHUB_ACTION_BUILD_SECRET }}
9094
image-repository: ${{ env.REGISTRY_PATH }}/${{ env.IMAGE_NAME }}
9195
image-index-manifest-tag: ${{ env.IMAGE_VERSION }}
96+
image-architectures: '["amd64"]'

0 commit comments

Comments
 (0)