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

Remove unused flags on publish #126

Closed
wants to merge 2 commits into from
Closed
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
32 changes: 1 addition & 31 deletions apko-publish/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ inputs:
The value to pass to --image-refs.
default: /tmp/apko.images

stage_tags:
description: |
The value to pass to --stage-tags.
default: ''

keyring-append:
description: |
The value to pass to --keyring-append.
Expand Down Expand Up @@ -107,31 +102,6 @@ inputs:
If automount-src is found, create a copy at this location (inside container)
default: /work

package-version-tag:
description: |
apko can tag the final image with the version of the corresponding apk package passed in here.
required: false
default: ''

package-version-tag-stem:
description: |
stem version tags.
type: boolean
required: false
default: false

package-version-tag-prefix:
description: |
prefix for version tag(s).
required: false
default: ''

tag-suffix:
description: |
Suffix to use with the package-version-tag feature, if any.
required: false
default: ''

sbom-path:
description: |
Path to write the SBOMs.
Expand Down Expand Up @@ -219,7 +189,7 @@ runs:
${{ inputs.use-docker-mediatypes && '--use-docker-mediatypes' }} \
${{ inputs.package-version-tag-stem && '--package-version-tag-stem' }} \
'--debug' \
--image-refs="${{ inputs.image_refs }}" --stage-tags="${{ inputs.stage_tags }}" ${{ inputs.config }} ${{ inputs.tag }} $keys $repos $packages $archs $build_options $packageVersionTag $packageVersionTagPrefix $tagSuffix $sbomPath | tee ${DIGEST_FILE}
--image-refs="${{ inputs.image_refs }}" ${{ inputs.config }} ${{ inputs.tag }} $keys $repos $packages $archs $build_options $sbomPath | tee ${DIGEST_FILE}
echo EXIT CODE: $?
echo ::set-output name=digest::$(cat ${DIGEST_FILE})
EOF
Expand Down
33 changes: 0 additions & 33 deletions apko-snapshot/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,29 +89,6 @@ inputs:
required: false
default: ''

package-version-tag:
description: |
apko can tag the final image with the version of the corresponding apk package passed in here.
required: false
default: ''

package-version-tag-stem:
description: |
stem version tags.
required: false

package-version-tag-prefix:
description: |
prefix for version tag(s).
required: false
default: ''

tag-suffix:
description: |
Suffix to use with the package-version-tag feature, if any.
required: false
default: ''

sbom-attest:
description: |
Upload SBOMs as attestations.
Expand Down Expand Up @@ -148,11 +125,6 @@ inputs:
The value to pass to --image-refs.
default: apko.images

stage_tags:
description: |
The value to pass to --stage-tags.
default: ''

automount-src:
description: |
In subsequent steps, if this directory is found, create a copy at automount-dest (inside container)
Expand Down Expand Up @@ -246,7 +218,6 @@ runs:
config: ${{ inputs.config }}
tag: ${{ inputs.base-tag }}:${{ inputs.target-tag }}-${{ steps.snapshot-date.outputs.date }}
image_refs: ${{ inputs.image_refs }}
stage_tags: ${{ inputs.stage_tags }}
use-docker-mediatypes: ${{ inputs.use-docker-mediatypes }}
keyring-append: ${{ inputs.keyring-append }}
repository-append: ${{ inputs.repository-append }}
Expand All @@ -255,10 +226,6 @@ runs:
debug: ${{ inputs.debug }}
automount-src: ${{ inputs.automount-src }}
automount-dest: ${{ inputs.automount-dest }}
package-version-tag: ${{ inputs.package-version-tag }}
package-version-tag-stem: ${{ inputs.package-version-tag-stem }}
package-version-tag-prefix: ${{ inputs.package-version-tag-prefix }}
tag-suffix: ${{ inputs.tag-suffix }}
build-options: ${{ inputs.build-options }}
sbom-path: ${{ steps.apko-publish-inputs.outputs.sbom-path }}
generic-user: ${{ inputs.generic-user }}
Expand Down