chainguard-images / actions

GitHub actions for the chainguard-images
Apache License 2.0
16 stars 21 forks source link

Actions include removed apko options #125

Open max-allan opened 7 months ago

max-allan commented 7 months ago

Description

See https://github.com/chainguard-dev/apko/commit/a1d2154e00dce970156ac339c3bc266b9464337d

Several options are removed from apko publish

    cmd.Flags().StringVar(&packageVersionTag, "package-version-tag", "", "Tag the final image with the version of the package passed in")
    cmd.Flags().BoolVar(&packageVersionTagStem, "package-version-tag-stem", false, "add additional tags by stemming the package version")
    cmd.Flags().StringVar(&packageVersionTagPrefix, "package-version-tag-prefix", "", "prefix for package version tag(s)")
    cmd.Flags().StringVar(&tagSuffix, "tag-suffix", "", "suffix to use for automatically generated tags")
    cmd.Flags().StringVar(&stageTags, "stage-tags", "", "path to file to write list of tags to instead of publishing them")

This means all the examples in https://github.com/chainguard-dev/hello-melange-apko/tree/main are failing the CICD.

max-allan commented 7 months ago

Ah, I found an existing PR https://github.com/chainguard-images/actions/pull/123