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

cleanup: remove unused flags #942

Merged
merged 1 commit into from
Oct 31, 2023
Merged

Conversation

imjasonh
Copy link
Member

@imjasonh imjasonh commented Oct 31, 2023

In our move toward Terraform-based image builds, we no longer use a number of flags we had previously used -- mainly around tagging.

This PR drops some flags we don't use anymore, in an attempt to delay the implacable advance of entropy that lies at the heart of the human experience.

  • --stage-tags used to skip tagging -- now we just invoke the build and tag later with oci_tag
  • --use-docker-mediatypes used to use Docker-style media types -- now we just always publish OCI images
  • --package-version-tag, --package-version-tag-stem, --package-version-tag-prefix, --tag-suffix all used to control version-tagging logic in apko; now we do this version string extraction and tagging in apko_tags and oci_tag

This also unexports GenerateOSRelease which was only ever called from the same package.

No tests were harmed in the removal of this behavior. 🙃

@Elizafox Elizafox merged commit ab648bd into chainguard-dev:main Oct 31, 2023
19 checks passed
andros21 added a commit to andros21/actions that referenced this pull request Nov 2, 2023
@joemiller
Copy link
Contributor

I was using the --skip-tags and --package-version-* flags. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants