ci: trigger on tags
This commit is contained in:
@@ -144,8 +144,8 @@ local goVersion = "1.24";
|
|||||||
local mirror = "https://mirror.gcr.io";
|
local mirror = "https://mirror.gcr.io";
|
||||||
|
|
||||||
[
|
[
|
||||||
Build(mirror, goVersion, alpineVersion, "linux", "amd64") + {"trigger": {event: ["push"], }},
|
Build(mirror, goVersion, alpineVersion, "linux", "amd64") + {"trigger": {event: ["push", "tag"], }},
|
||||||
Build(mirror, goVersion, alpineVersion, "linux", "arm64") + {"trigger": {event: ["push"], }},
|
Build(mirror, goVersion, alpineVersion, "linux", "arm64") + {"trigger": {event: ["push", "tag"], }},
|
||||||
|
|
||||||
# Test PRs
|
# Test PRs
|
||||||
Build(mirror, goVersion, alpineVersion, "linux", "amd64") + {"name": "test-pr", "trigger": {event: ["pull_request"], }},
|
Build(mirror, goVersion, alpineVersion, "linux", "amd64") + {"name": "test-pr", "trigger": {event: ["pull_request"], }},
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ steps:
|
|||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
- tag
|
||||||
type: docker
|
type: docker
|
||||||
---
|
---
|
||||||
environment:
|
environment:
|
||||||
@@ -139,6 +140,7 @@ steps:
|
|||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
- tag
|
||||||
type: docker
|
type: docker
|
||||||
---
|
---
|
||||||
environment:
|
environment:
|
||||||
@@ -501,6 +503,6 @@ trigger:
|
|||||||
type: docker
|
type: docker
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 6d700c50c4148f85a136094965ed5191007167bbbe1e6428dfb06d2441582efb
|
hmac: df53e4ea6f1c47df4d2a3f89b931b8513e83daa9c6c15baba2662d8112a721c8
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|||||||
Reference in New Issue
Block a user