-
Notifications
You must be signed in to change notification settings - Fork 1
feat(workflows): enhance reusable Docker build workflow with new inputs and tag handling #91
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
base: main
Are you sure you want to change the base?
Conversation
…ts and tag handling
…-name and app-version inputs
…workflow to include app-version
…le Docker build workflow
…NV for build args and labels
…eusable Docker build workflow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enhances the reusable Docker build workflow by transitioning from a single explicit tag input to a more flexible system with auto-generated tags based on application version. The workflow now generates multiple tags (version, latest, and immutable timestamp-based tags) and adds OCI-compliant labels.
Key changes:
- Replaced required
taginput with requiredapp-versioninput and optionalapp-nameinput - Auto-generates three tags: version tag, latest tag, and immutable timestamp-based tag
- Adds automatic OCI label generation with standard metadata fields
- Makes previous required
taginput optional to support both auto-generation and custom tags
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 10 comments.
| File | Description |
|---|---|
.github/workflows/reusable_docker-build-deploy.yaml |
Major refactoring: adds app-version/app-name inputs, implements auto-tag generation, adds OCI labels, makes tag input optional, and exposes new tag outputs |
.github/workflows/example_reusable-integration.yaml |
Updates example to use new workflow API with app-version and app-name instead of explicit tag |
.github/workflows/VERSION.example |
Version bump from 1.2.8 to 1.2.9 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.