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:
|
||||
dryrun:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
image: woodpeckerci/plugin-docker-buildx:5.1.0
|
||||
privileged: true
|
||||
settings:
|
||||
dockerfile: *file
|
||||
platforms: linux/arm64/v8,linux/amd64
|
||||
@@ -21,7 +22,8 @@ steps:
|
||||
path: *file
|
||||
|
||||
publish:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
image: woodpeckerci/plugin-docker-buildx:5.1.0
|
||||
privileged: true
|
||||
settings:
|
||||
dockerfile: *file
|
||||
platforms: linux/arm64/v8,linux/amd64
|
||||
@@ -30,7 +32,7 @@ steps:
|
||||
tags: latest
|
||||
username: ${CI_REPO_OWNER}
|
||||
password:
|
||||
from_secret: ci_token
|
||||
from_secret: registry_token
|
||||
when:
|
||||
event: push
|
||||
path: *file
|
||||
|
||||
Reference in New Issue
Block a user