Skip to content

Commit

Permalink
ci: Only publish manifest for amd for spark-k8s-with-scikit-learn ima…
Browse files Browse the repository at this point in the history
…ge (#114)
  • Loading branch information
xeniape authored Oct 18, 2024
1 parent 871d3bb commit 819b870
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/dev_spark-k8s-with-scikit-learn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
- {name: "ubuntu-latest", arch: "amd64"}
# TODO: the image 3.5.0-stackable24.3.0 does not have an arm64 build.
# Re-activate the arm runner when the image is updated to one that does.
# Also adjust publish_manifest step to include arm architecture
#- {name: "ubicloud-standard-8-arm", arch: "arm64"}
steps:
- name: Checkout Repository
Expand Down Expand Up @@ -72,6 +73,7 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

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

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

0 comments on commit 819b870

Please sign in to comment.