This commit is contained in:
@@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
when:
|
|
||||||
branch: main
|
|
||||||
event: [push, pull_request]
|
|
||||||
|
|
||||||
variables:
|
|
||||||
- &file Dockerfile
|
|
||||||
- &repo source.hodakov.me/${CI_REPO_OWNER}/docker-phpbb
|
|
||||||
|
|
||||||
steps:
|
|
||||||
test:
|
|
||||||
image: alpine
|
|
||||||
commands:
|
|
||||||
- env
|
|
||||||
@@ -9,7 +9,8 @@ variables:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
dryrun:
|
dryrun:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx:5.1.0
|
||||||
|
privileged: true
|
||||||
settings:
|
settings:
|
||||||
dockerfile: *file
|
dockerfile: *file
|
||||||
platforms: linux/arm64/v8,linux/amd64
|
platforms: linux/arm64/v8,linux/amd64
|
||||||
@@ -21,7 +22,8 @@ steps:
|
|||||||
path: *file
|
path: *file
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx:5.1.0
|
||||||
|
privileged: true
|
||||||
settings:
|
settings:
|
||||||
dockerfile: *file
|
dockerfile: *file
|
||||||
platforms: linux/arm64/v8,linux/amd64
|
platforms: linux/arm64/v8,linux/amd64
|
||||||
@@ -30,7 +32,7 @@ steps:
|
|||||||
tags: latest
|
tags: latest
|
||||||
username: ${CI_REPO_OWNER}
|
username: ${CI_REPO_OWNER}
|
||||||
password:
|
password:
|
||||||
from_secret: ci_token
|
from_secret: registry_token
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
path: *file
|
path: *file
|
||||||
|
|||||||
Reference in New Issue
Block a user