This commit is contained in:
parent
82dc132190
commit
ab610c3834
1 changed files with 9 additions and 5 deletions
|
@ -1,22 +1,26 @@
|
|||
|
||||
# SPDX-FileCopyrightText: 2023 Tobias Schmidl
|
||||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
---
|
||||
steps:
|
||||
docker-build:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
group: build
|
||||
settings:
|
||||
repo: git.schmidl.dev/${CI-REPO_OWNER}/buildimage
|
||||
repo: git.schmidl.dev/$${CI-REPO_OWNER}/buildimage
|
||||
registry: git.schmidl.dev
|
||||
dry_run: true
|
||||
output: type=oci,dest=${CI_REPO_OWNER}-buildimage.tar
|
||||
output: type=oci,dest=$${CI_REPO_OWNER}-buildimage.tar
|
||||
|
||||
publish-next-agent:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
group: publish
|
||||
secrets: [docker_username, docker_password]
|
||||
settings:
|
||||
repo: git.schmidl.dev/${CI-REPO_OWNER}/buildimage
|
||||
repo: git.schmidl.dev/$${CI-REPO_OWNER}/buildimage
|
||||
dockerfile: dockerfile
|
||||
platforms: linux/amd64,linux/arm64/v8
|
||||
when:
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
branch: $${CI_REPO_DEFAULT_BRANCH}
|
||||
event: push
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue