mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-14 11:35:42 +00:00
build rootless image on tag event
This commit is contained in:
parent
7e30ed648f
commit
dbb815c0c4
1 changed files with 59 additions and 0 deletions
|
@ -214,6 +214,23 @@ steps:
|
||||||
logins: *publish_logins
|
logins: *publish_logins
|
||||||
when: *when-release
|
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 #
|
# A g e n t #
|
||||||
#############
|
#############
|
||||||
|
@ -311,6 +328,27 @@ steps:
|
||||||
build_args: *build_args
|
build_args: *build_args
|
||||||
when: *when-release
|
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 #
|
# C L I #
|
||||||
#########
|
#########
|
||||||
|
@ -404,3 +442,24 @@ steps:
|
||||||
logins: *publish_logins
|
logins: *publish_logins
|
||||||
build_args: *build_args
|
build_args: *build_args
|
||||||
when: *when-release
|
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
|
||||||
|
|
Loading…
Reference in a new issue