Skip to content

Ship action and container all in one repository. #1

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

Merged
merged 2 commits into from
Mar 2, 2021

Conversation

weierophinney
Copy link
Owner

This patch updates the repository such that it now composes both the action, and the container the action consumes.

  • Adds automatic-releases workflow
  • Renames "generate-tags" action to "generate-action-tags", as it is used to determine which minor/major tag variants to create/re-point and push for the action.
  • Adds a new action, "generate-container-tags", which is used to tag the associated container; the container is renamed to "ghcr.io/weierophinney/laminas-ci-matrix".
    Tags for the current major, minor, and patch version are created.
  • Renames release-tags workflow to create-additional-action-tags, modifies it to only trigger on release publication, and updates it to use the generate-action-tags action to generate the tag list.
  • Adds the build-and-push-containers workflow.

Ideally, this means that the workflow becomes:

  • Close milestone
  • Automatic releases creates tag and pushes release
  • create-additional-action-tags creates additional release tags for major/minor versions
  • generate-container-tags builds the container and pushes it to ghcr.io, creating tags for major, minor, and patch versions

This patch imports the most recent files representing the container that backs the action.
The goal is to build and tag the container in tandem with the action.

Signed-off-by: Matthew Weier O'Phinney <[email protected]>
- Adds automatic-releases workflow
- Renames "generate-tags" action to "generate-action-tags", as it is used to determine which minor/major tag variants to create/re-point and push for the action.
- Adds a new action, "generate-container-tags", which is used to tag the associated container; the container is renamed to "ghcr.io/weierophinney/laminas-ci-matrix".
  Tags for the current major, minor, and patch version are created.
- Renames release-tags workflow to create-additional-action-tags, modifies it to only trigger on release publication, and updates it to use the generate-action-tags action to generate the tag list.
- Adds the build-and-push-containers workflow.

Ideally, this means that the workflow becomes:

- Close milestone
- Automatic releases creates tag and pushes release
- create-additional-action-tags creates additional release tags for major/minor versions
- generate-container-tags builds the container and pushes it to ghcr.io, creating tags for major, minor, and patch versions
@weierophinney weierophinney added the enhancement New feature or request label Mar 2, 2021
@weierophinney weierophinney added this to the 1.2.0 milestone Mar 2, 2021
@weierophinney weierophinney merged commit 20c3d08 into 1.2.x Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant