Enhance `buildx-build` capabilities
The buildx-build
component is currently very limited. It is quite annoying to have conditional tags, not all docker buildx build
options are supported and so on.
Ideally the buildx-build
component would mimic a combination of docker/login-action
, docker/metadata-action
, and docker/build-push-action
.
NOTE: Not all of the available inputs are copied, because some of them make no context in GitLab CI/CD (e.g. the
build-push-action
load
flag, as there is no way to access the docker image cache in subsequent jobs).
NOTE: Some of the child tasks might have overlap with each other (e.g.
metadata-action
annotations andbuild-push-action
annotations), but both are listed for completeness.
Edited by Jonas Fierlings