mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-24 13:56:57 +00:00
Build for arm and x86
This commit is contained in:
parent
b6103c6a1b
commit
bb067c648b
1 changed files with 7 additions and 4 deletions
|
@ -30,10 +30,11 @@ steps:
|
|||
|
||||
docker-dryrun:
|
||||
group: compliant
|
||||
image: plugins/kaniko
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
no_push: true
|
||||
dry-run: true
|
||||
platforms: linux/amd64,arm64
|
||||
tags: latest
|
||||
when:
|
||||
event: [ "pull_request", "push" ]
|
||||
|
@ -82,11 +83,12 @@ steps:
|
|||
event: [ "tag" ]
|
||||
|
||||
docker-next:
|
||||
image: plugins/kaniko
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
registry: codeberg.org
|
||||
dockerfile: Dockerfile
|
||||
repo: codeberg.org/codeberg/pages-server
|
||||
platforms: linux/amd64,arm64
|
||||
tags: next
|
||||
username:
|
||||
from_secret: bot_user
|
||||
|
@ -97,11 +99,12 @@ steps:
|
|||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
|
||||
docker-tag:
|
||||
image: plugins/kaniko
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
registry: codeberg.org
|
||||
dockerfile: Dockerfile
|
||||
repo: codeberg.org/codeberg/pages-server
|
||||
platforms: linux/amd64,arm64
|
||||
tags: [ latest, "${CI_COMMIT_TAG}" ]
|
||||
username:
|
||||
from_secret: bot_user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue