2024-07-12 21:56:23 +02:00
|
|
|
when:
|
2024-11-18 12:17:51 +01:00
|
|
|
branch: ["main"]
|
2024-07-12 21:56:23 +02:00
|
|
|
event: ["push", "manual"]
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
2024-11-18 12:17:51 +01:00
|
|
|
repo: git.iwakura.rip/hex/iwakuweb
|
2024-07-12 21:56:23 +02:00
|
|
|
platforms: linux/amd64
|
|
|
|
dockerfile: Dockerfile
|
2024-11-18 12:17:51 +01:00
|
|
|
tags:
|
|
|
|
["${CI_COMMIT_BRANCH}-latest", "${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA}"]
|
2024-07-12 21:56:23 +02:00
|
|
|
username: hex
|
2024-11-18 12:17:51 +01:00
|
|
|
registry:
|
|
|
|
git.iwakura.rip
|
2024-07-12 21:56:23 +02:00
|
|
|
#insecure: true
|
|
|
|
password:
|
|
|
|
from_secret: gitpat
|