build
ci/woodpecker/push/base Pipeline was successful Details

lanparty
gapodo 2023-11-20 13:56:13 +01:00
parent 24c6a1e22e
commit 86351e336c
1 changed files with 33 additions and 3 deletions

View File

@ -41,7 +41,17 @@ steps:
image: *buildx_image
pull: true
settings:
<<:*buildx_base_settings
platforms: linux/amd64
dockerfile: docker/Dockerfile.ci
context: .
registry:
from_secret: registry_domain
repo:
from_secret: target_image_name
password:
from_secret: registry_token
username:
from_secret: registry_user
auto_tag: true
tag: [next, "next-${CI_COMMIT_SHA:0:8}"]
when:
@ -52,7 +62,17 @@ steps:
image: *buildx_image
pull: true
settings:
<<:*buildx_base_settings
platforms: linux/amd64
dockerfile: docker/Dockerfile.ci
context: .
registry:
from_secret: registry_domain
repo:
from_secret: target_image_name
password:
from_secret: registry_token
username:
from_secret: registry_user
auto_tag: true
tag: ["${CI_COMMIT_BRANCH}", "${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA:0:8}"]
when:
@ -62,7 +82,17 @@ steps:
image: *buildx_image
pull: true
settings:
<<:*buildx_base_settings
platforms: linux/amd64
dockerfile: docker/Dockerfile.ci
context: .
registry:
from_secret: registry_domain
repo:
from_secret: target_image_name
password:
from_secret: registry_token
username:
from_secret: registry_user
auto_tag: true
tag: [latest, "${CI_COMMIT_TAG}", "tag-${CI_COMMIT_SHA:0:8}"]
when: