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