Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/smoke-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
persist-credentials: false

- name: Publish and Sign Image Index Manifest to oci.stackable.tech
uses: ./publish-index-manifest
uses: ./publish-image-index-manifest
with:
image-registry-uri: oci.stackable.tech
image-registry-username: robot$stackable+github-action-build
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ particular step in a workflow.
- [build-product-image](./build-product-image/README.md)
- [free-disk-space](./free-disk-space/README.md)
- [publish-image](./publish-image/README.md)
- [publish-index-manifest](./publish-index-manifest/README.md)
- [publish-image-index-manifest](./publish-image-index-manifest/README.md)
- [run-integration-test](./run-integration-test/README.md)
- [run-pre-commit](./run-pre-commit/README.md)
- [send-slack-notification](./send-slack-notification/README.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `publish-index-manifest`
# `publish-image-index-manifest`

> Manifest: [publish-index-manifest/action.yml][publish-index-manifest]
> Manifest: [publish-image-index-manifest/action.yml][publish-image-index-manifest]

This action creates an image index manifest, publishes it, and signs it. It does the following work:

Expand All @@ -11,7 +11,7 @@ This action creates an image index manifest, publishes it, and signs it. It does
## Inputs and Outputs

> [!TIP]
> For descriptions of the inputs and outputs, see the complete [publish-index-manifest] action.
> For descriptions of the inputs and outputs, see the complete [publish-image-index-manifest] action.

### Inputs

Expand All @@ -24,6 +24,6 @@ This action creates an image index manifest, publishes it, and signs it. It does

### Outputs

None
- `image-index-uri`: The final image index URI, eg. `oci.stackable.tech/spd/kafka:3.4.1-stackable0.0.0-dev`.

[publish-index-manifest]: ./action.yaml
[publish-image-index-manifest]: ./action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ inputs:
["amd64", "arm64", "riscv"]
default: |
["amd64", "arm64"]
outputs:
image-index-uri:
description: The Image Index URI.
value: ${{ steps.create-index.outputs.IMAGE_INDEX_URI }}
runs:
using: composite
steps:
Expand All @@ -49,7 +53,8 @@ runs:
set -euo pipefail
echo "GITHUB_ACTION_PATH=$GITHUB_ACTION_PATH" | tee -a "$GITHUB_ENV"

- name: Create Image Index Manifest
- name: Create Image Index Manifest Manifest
id: create-index
shell: bash
env:
IMAGE_INDEX_MANIFEST_TAG: ${{ inputs.image-index-manifest-tag }}
Expand All @@ -63,6 +68,7 @@ runs:
# oci.stackable.tech/sdp/kafka:3.4.1-stackable0.0.0-dev
IMAGE_INDEX_URI="$REGISTRY_URI/$IMAGE_REPOSITORY:$IMAGE_INDEX_MANIFEST_TAG"
echo "IMAGE_INDEX_URI=$IMAGE_INDEX_URI" | tee -a "$GITHUB_ENV"
echo "IMAGE_INDEX_URI=$IMAGE_INDEX_URI" | tee -a "$GITHUB_OUTPUT"

AMEND_OPTIONS=$(
jq \
Expand Down