docker-buildx/.woodpecker.yml
Patrick Schratz c539c9e8a9 chore(deps): update golang docker tag to v1.21 (#89)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| golang |  | minor | `1.20` -> `1.21` |
| golang | stage | minor | `1.20` -> `1.21` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNC4wIiwidXBkYXRlZEluVmVyIjoiMzcuMjQuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/89
2023-10-17 15:49:27 +00:00

51 lines
1.2 KiB
YAML

variables:
- &golang 'golang:1.21'
- &build_plugin 'woodpeckerci/plugin-docker-buildx:2'
- base_settings: &base_buildx_settings
platforms: 'linux/amd64,linux/arm64'
dockerfile: Dockerfile.multiarch
auto_tag: true
repo: woodpeckerci/plugin-docker-buildx,codeberg.org/woodpecker-plugins/docker-buildx
steps:
vendor:
image: *golang
commands: go mod vendor
test:
image: *golang
commands: go test -cover ./...
publish-dryrun:
image: *build_plugin
pull: true
settings:
<<: *base_buildx_settings
repo: test
dry_run: true
when:
event: pull_request
branch: main
publish:
image: *build_plugin
settings:
<<: *base_buildx_settings
logins:
# Default DockerHub login
- registry: https://index.docker.io/v1/
username:
from_secret: docker_username
password:
from_secret: docker_password
# Additional Codeberg login
- registry: https://codeberg.org
username:
from_secret: cb_username
password:
from_secret: cb_password
when:
event: [push, tag, cron]
branch: main