build rootless image on tag event

This commit is contained in:
pat-s 2024-12-24 23:14:08 +01:00
parent 7e30ed648f
commit dbb815c0c4
No known key found for this signature in database
GPG key ID: 3C6318841EF78925

View file

@ -214,6 +214,23 @@ steps:
logins: *publish_logins
when: *when-release
release-server-alpine-rootless:
depends_on:
- cross-compile-server
image: *buildx_plugin
settings:
repo: *publish_repos_server
dockerfile: docker/Dockerfile.server.alpine.multiarch.rootless
platforms: *platforms_alpine
tag:
[
'${CI_COMMIT_TAG%%.*}-alpine-rootless',
'${CI_COMMIT_TAG%.*}-alpine-rootless',
'${CI_COMMIT_TAG}-alpine-rootless',
]
logins: *publish_logins
when: *when-release
#############
# A g e n t #
#############
@ -311,6 +328,27 @@ steps:
build_args: *build_args
when: *when-release
release-agent-alpine-rootless:
depends_on:
- vendor
# we also depend on cross-compile-server as we would have to hight
# ram usage otherwise
- cross-compile-server
image: *buildx_plugin
settings:
repo: *publish_repos_agent
dockerfile: docker/Dockerfile.agent.alpine.multiarch.rootless
platforms: *platforms_alpine
tag:
[
'${CI_COMMIT_TAG%%.*}-alpine-rootless',
'${CI_COMMIT_TAG%.*}-alpine-rootless',
'${CI_COMMIT_TAG}-alpine-rootless',
]
logins: *publish_logins
build_args: *build_args
when: *when-release
#########
# C L I #
#########
@ -404,3 +442,24 @@ steps:
logins: *publish_logins
build_args: *build_args
when: *when-release
release-cli-alpine-rootless:
depends_on:
- vendor
# we also depend on release-agent as we would have to hight
# ram usage otherwise
- release-agent
image: *buildx_plugin
settings:
repo: *publish_repos_cli
dockerfile: docker/Dockerfile.cli.alpine.multiarch.rootless
platforms: *platforms_alpine
tag:
[
'${CI_COMMIT_TAG%%.*}-alpine-rootless',
'${CI_COMMIT_TAG%.*}-alpine-rootless',
'${CI_COMMIT_TAG}-alpine-rootless',
]
logins: *publish_logins
build_args: *build_args
when: *when-release