Build for arm and x86

This commit is contained in:
6543 2023-04-18 18:51:19 +02:00
parent b6103c6a1b
commit bb067c648b
No known key found for this signature in database
GPG Key ID: B8BE6D610E61C862
1 changed files with 7 additions and 4 deletions

View File

@ -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