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

feat: add VERSION to ci-base-image #1735

Merged
merged 14 commits into from
Oct 25, 2023

Conversation

mattheworris
Copy link
Collaborator

@mattheworris mattheworris commented Oct 23, 2023

Goal

The goal of this PR is to add a version to the ci-base-image container when it is published to DockerHub.
IMAGE_VERSION is added to the publishing jobs and stored as a LABEL in the container itself.
IMAGE_VERSION will be baselined as 1.0.0
docker inspect can be used to check the version of a container and should be in-sync with the tag version.

A follow on PR will be used to update the github workflows to use the version number.

Discussion

The current workflows pull using the defaults, which is the latest tag.
Adding a version will allows us better traceability and better maintenance moving forward.

@mattheworris mattheworris linked an issue Oct 23, 2023 that may be closed by this pull request
5 tasks
@mattheworris mattheworris marked this pull request as ready for review October 24, 2023 15:39
Copy link
Collaborator

@demisx demisx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comment for .github/workflows/publish-dev-ci-base-image.yml.

@mattheworris mattheworris requested a review from a team October 24, 2023 18:22
@mattheworris mattheworris force-pushed the 1734-ci-base-image-should-be-versioned branch from feffb49 to 1ac5b4b Compare October 24, 2023 18:36
@@ -81,6 +81,7 @@ jobs:
name: Publish CI Base Image
env:
IMAGE_NAME: ci-base-image
IMAGE_VERSION: 1.0.0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

Copy link
Collaborator

@enddynayn enddynayn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mattheworris mattheworris requested a review from demisx October 24, 2023 20:54
@mattheworris mattheworris enabled auto-merge (squash) October 24, 2023 23:26
Copy link
Collaborator

@demisx demisx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏻

@mattheworris mattheworris merged commit 8c78af3 into main Oct 25, 2023
27 checks passed
@mattheworris mattheworris deleted the 1734-ci-base-image-should-be-versioned branch October 25, 2023 03:14
@mattheworris mattheworris self-assigned this Oct 25, 2023
wilwade pushed a commit that referenced this pull request Oct 25, 2023
# Goal
The goal of this PR is to publish the 1.0.0 version of ci-base-image.
  
# Discussion
Due to a typo in `merge-pr.yml`, #1735 failed to publish a new version
of `ci-base-image`.
This PR touches `ci-base-image.dockerfile` to trigger the
`publish-ci-base-image` github action workflow.

Co-authored-by: Matthew Orris <--help>
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.

ci-base-image should be versioned
4 participants