Compare commits
2 Commits
v3.3.14-1
...
bf8f09cf98
| Author | SHA1 | Date | |
|---|---|---|---|
|
bf8f09cf98
|
|||
| 0df2a638b4 |
@@ -1,3 +1,10 @@
|
||||
matrix:
|
||||
platform:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
|
||||
labels:
|
||||
platform: ${platform}
|
||||
|
||||
when:
|
||||
branch: main
|
||||
@@ -7,15 +14,12 @@ variables:
|
||||
- &repo source.hodakov.me/${CI_REPO_OWNER}/phpbb
|
||||
|
||||
steps:
|
||||
dryrun:
|
||||
image: woodpeckerci/plugin-docker-buildx:5.1.0
|
||||
privileged: true
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
platforms: linux/arm64/v8,linux/amd64
|
||||
dry_run: true
|
||||
repo: *repo
|
||||
auto_tag: true
|
||||
test-build:
|
||||
image: docker:27-dind
|
||||
commands:
|
||||
- docker build -t source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10} .
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
when:
|
||||
event: pull_request
|
||||
|
||||
@@ -24,7 +28,7 @@ steps:
|
||||
privileged: true
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
platforms: linux/arm64/v8,linux/amd64
|
||||
platforms: ${platform}
|
||||
repo: *repo
|
||||
registry: source.hodakov.me
|
||||
auto_tag: true
|
||||
|
||||
Reference in New Issue
Block a user