Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add an image publishing task #377

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
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
Next Next commit
feat: add an image publishing task
Racer159 committed Jan 13, 2025
commit a2ce625d26ca2c3053f64e142fed9aaae6c588a6
22 changes: 22 additions & 0 deletions tasks/publish.yaml
Original file line number Diff line number Diff line change
@@ -143,3 +143,25 @@
- description: Publish bundle for the supplied architecture
cmd: |
./uds publish "${{ .inputs.path }}/uds-bundle-${{ .inputs.name }}-${{ .inputs.architecture }}-${{ .inputs.version }}.tar.zst" "oci://${TARGET_REPO}/bundles" --no-progress

- name: image
description: Publish the image for the supplied architecture
inputs:
path:
description: Path to the image being published
default: "."

Check failure on line 152 in tasks/publish.yaml

GitHub Actions / run

152:18 [quoted-strings] string value is redundantly quoted with double quotes
tag:
description: The tag of the image to publish
default: ${IMAGE_TAG}
architecture:
description: The architecture of the image to publish
default: ${UDS_ARCH}
name:
description: The name of the image to publish
default: ${IMAGE_NAME}
options:
description: Additional options to pass to docker buildx
actions:
- description: Publish bundle for the supplied architecture
cmd: |
docker buildx build --load ${{ .inputs.path }} -t ${{ .inputs.name }}:${{ .inputs.tag }} --platform linux/${{ .inputs.architecture }}