Run the Linux amd64 fast-lane after a PR is merged to main, while leaving unmerged PRs as no-ops. Co-authored-by: JustMe <mr.toing@outlook.com>
32 lines
595 B
YAML
32 lines
595 B
YAML
labels:
|
|
ci: domain-linux-native
|
|
platform: linux/amd64
|
|
|
|
clone:
|
|
- name: git
|
|
image: plugin-git
|
|
settings:
|
|
lfs: false
|
|
|
|
when:
|
|
- event: push
|
|
branch: main
|
|
- event: pull_request_closed
|
|
branch: main
|
|
|
|
concurrency: 1
|
|
|
|
steps:
|
|
- name: publish-affected-amd64-images
|
|
image: bash
|
|
environment:
|
|
NUGET_PACKAGES: /home/justme/.nuget/packages
|
|
GITEA_BASE: http://127.0.0.1:3100
|
|
ZOT_REGISTRY: registry.oeo.one
|
|
ZOT_USERNAME: justme
|
|
ZOT_SECRET:
|
|
from_secret: zot_secret
|
|
commands:
|
|
- bash ci/release-main-images.sh
|
|
depends_on: []
|