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

block the publication of an OCI artifact if one or more services contain only a build section #12597

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

glours
Copy link
Contributor

@glours glours commented Mar 3, 2025

What I did
As we don't want to push source/build code into the OCI artifact published on Docker Hub, we added a pre-check blocking the publish process if one or more service are only defined by a build section.

Related issue
https://docker.atlassian.net/browse/APCLI-880

(not mandatory) A picture of a cute animal, if possible in relation to what you did
image

@glours glours requested a review from a team as a code owner March 3, 2025 13:57
@glours glours requested a review from ndeloof March 3, 2025 13:57
@glours glours self-assigned this Mar 3, 2025
@glours glours force-pushed the block-publish-only-build branch from 82a3acb to cb39734 Compare March 3, 2025 14:35
@glours glours force-pushed the block-publish-only-build branch 2 times, most recently from 6a231a1 to 72e95b1 Compare March 3, 2025 14:50
…ain only a build section

Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
@glours glours force-pushed the block-publish-only-build branch from 72e95b1 to 8ebadae Compare March 3, 2025 15:07
@glours glours merged commit 66dfa7d into docker:main Mar 3, 2025
26 checks passed
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.

2 participants