Skip to content

feat: Add Docker build and push workflows for Docker Hub and JFrog Artifactory#59

Merged
derrix060 merged 9 commits intomainfrom
mario/create-standard-workflow
Jun 4, 2025
Merged

feat: Add Docker build and push workflows for Docker Hub and JFrog Artifactory#59
derrix060 merged 9 commits intomainfrom
mario/create-standard-workflow

Conversation

@derrix060
Copy link
Copy Markdown
Contributor

  • Introduced two new workflows: docker-build-push-dockerhub.yaml and docker-build-push-jfrog.yaml for building and publishing Docker images to Docker Hub and JFrog Artifactory, respectively.
  • Each workflow includes customizable inputs for repository name, image name, build context, platforms, and secret management, enhancing flexibility in Docker image publishing.
  • Implemented environment variable setups and login steps for both Docker Hub and JFrog, ensuring secure and efficient image publishing processes.

This update significantly expands the capabilities of the Docker publishing workflows, allowing for tailored configurations based on user needs.

derrix060 added 6 commits June 3, 2025 12:12
…tifactory

- Introduced two new workflows: `docker-build-push-dockerhub.yaml` and `docker-build-push-jfrog.yaml` for building and publishing Docker images to Docker Hub and JFrog Artifactory, respectively.
- Each workflow includes customizable inputs for repository name, image name, build context, platforms, and secret management, enhancing flexibility in Docker image publishing.
- Implemented environment variable setups and login steps for both Docker Hub and JFrog, ensuring secure and efficient image publishing processes.

This update significantly expands the capabilities of the Docker publishing workflows, allowing for tailored configurations based on user needs.
- Introduced new workflows: `docker-promote-dockerhub.yaml` and `docker-promote-jfrog.yaml` for promoting Docker images between repositories.
- Each workflow supports customizable inputs for source and target repository names, image names, and tags, enhancing flexibility in image promotion.
- Implemented environment variable setups, secure login steps, and image attestation processes to ensure efficient and secure promotions.

This update expands the capabilities of the Docker promotion workflows, allowing for tailored configurations based on user needs.
- Deleted obsolete workflows: `docker-build-and-push`, `get-group-topic`, `jfrog-build-publish`, `pipeline-ci-build-and-push-image`, and `pipeline-cd-promote-image`.
- Updated `docker-build-push.yaml` and `publish-docker.yaml` to indicate deprecation and direct users to new workflows for Docker image promotion and publishing.

This cleanup enhances the clarity and maintainability of the workflow directory by removing outdated configurations.
- Changed copyright year from 2024 to 2025 in both `LICENSE` and `README.md` files to reflect the current year.
- Ensured consistency in copyright information across documentation.

This update maintains accurate legal information in the repository's documentation.
- Revised sections for building and publishing Docker images to JFrog Artifactory and Docker Hub, providing clearer implementation details and examples.
- Consolidated features and processes for Docker image promotion workflows, ensuring comprehensive coverage of functionalities.
- Improved organization of the README to facilitate better understanding of available workflows and their configurations.

This update enhances the clarity and usability of the documentation for users working with Docker workflows in the repository.
- Added a deprecation notice to `promote-docker.yaml`, directing users to use `docker-promote-jfrog.yaml` or `docker-promote-dockerhub.yaml` instead.
- This change helps streamline the workflow directory by guiding users towards the current recommended practices for Docker image promotion.

This update enhances clarity regarding the status of the workflow and encourages the adoption of newer alternatives.
@derrix060 derrix060 enabled auto-merge (squash) June 3, 2025 12:45
derrix060 added 3 commits June 3, 2025 14:05
- Added a new optional input `source_env` to specify the source environment for promotion, allowing for more flexible configurations.
- Implemented validation to ensure `source_env` accepts only valid values ('dev', 'staging', or 'none').
- Updated the logic for setting the `SOURCE_ENV` variable based on the new input, improving the workflow's adaptability.

This update enhances the functionality of the Docker promotion workflow by allowing users to define the source environment explicitly.
- Removed outdated sections from the main README and consolidated Docker image workflows documentation into a new `examples/docker/README.md` file.
- Enhanced clarity by providing detailed implementation and example links for building and publishing Docker images to JFrog Artifactory and Docker Hub.
- Included environment flow details for both JFrog Artifactory and Docker Hub, improving user understanding of the promotion paths and repository structures.

This update improves the organization and usability of the documentation for Docker workflows, making it easier for users to navigate and implement the workflows effectively.
- Added a section to the README outlining the naming convention for workflows, specifying the format as `technology-action-flavor.yaml`.
- Provided an example to illustrate the naming structure, enhancing user understanding of workflow organization.

This update improves the documentation by making it easier for users to comprehend the naming conventions used in the repository.
@derrix060 derrix060 disabled auto-merge June 3, 2025 14:44
@derrix060 derrix060 merged commit f68fb7d into main Jun 4, 2025
@derrix060 derrix060 deleted the mario/create-standard-workflow branch June 4, 2025 06:47
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.

1 participant