The source project of this merge request has been removed.
WIP: Add docker image as build artifacts
What does this MR do?
This MR it's the first step toward implementing Automate push/pull of docker image artifacts.
The pipeline artifacts
syntax has been extended allowing a new key image
which identify the
local docker tag that must be pushed as an artifact to the registry.
If such artifact has been configured and pushed to the repository then it will be displayed on the job details page.
In order to avoid image collisions, the artifact image is named $registry_url:$user/$project/pipeline:$build_id
Next steps
-
extending artifacts expirations to docker image -
allow to customize final docker image name and tag -
allow to use previously built image in subsequent jobs -
artifacts uploading via API call instead of naming convention (not sure if really needed)
cc: @ayufan @markpundsack
Are there points in the code the reviewer needs to double check?
Why was this MR needed?
Please see #31542 (closed)
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Edited by Kamil Trzciński (Back 2025-01-01)