Skip to content

Conversation

jmeridth
Copy link
Member

I got confused when the release tagging was being applied to the same release package (container image). This was because the container image was not changing.

With this change, we put the contents of the repo into the container image, ensuring there is change and a new image and digest is created. This will also cause new attestation to be created.

  • remove .github folder from .dockerignore to ensure the folder is put into the container image
  • update README explaining what the image contents are and why

@jmeridth jmeridth self-assigned this Jan 25, 2025
@Copilot Copilot AI review requested due to automatic review settings January 25, 2025 17:05
@jmeridth jmeridth requested a review from a team as a code owner January 25, 2025 17:05
@github-actions github-actions bot added the repo label Jan 25, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

Tip: Copilot code review supports C#, Go, Java, JavaScript, Markdown, Python, Ruby and TypeScript, with more languages coming soon. Learn more

.git
.gitattributes
.gitignore
.github/
Copy link
Member Author

Choose a reason for hiding this comment

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

formatting of file, but this was the important change.

I got confused when the release tagging was being applied
to the same release package (container image).  This was because
the container image was not changing.

With this change, we put the contents of the repo into the
container image, ensuring there is change and a new image and digest
is created.  This will also cause new attestation to be created.

- [x] remove .github folder from .dockerignore to ensure the folder is put into the container image
- [x] update README explaining what the image contents are and why

Signed-off-by: jmeridth <jmeridth@gmail.com>
@jmeridth jmeridth force-pushed the jm_update_dockerfile branch from 634d50f to 5ab77ef Compare January 25, 2025 17:10
@jmeridth jmeridth merged commit 6a0a6d0 into main Jan 25, 2025
8 checks passed
@jmeridth jmeridth deleted the jm_update_dockerfile branch January 25, 2025 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant