mirror of
https://github.com/thegeeklab/retry.git
synced 2024-11-21 13:10:39 +00:00
fix ci workflow conditions
This commit is contained in:
parent
e3bf018e0a
commit
7968bbc6ec
@ -1,8 +1,11 @@
|
|||||||
---
|
---
|
||||||
when:
|
when:
|
||||||
- ref: refs/heads/main
|
- event:
|
||||||
- ref: refs/tags/**
|
- pull_request
|
||||||
- ref: refs/pull/**
|
- tag
|
||||||
|
- event: push
|
||||||
|
branch:
|
||||||
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
dryrun:
|
dryrun:
|
||||||
@ -18,7 +21,8 @@ steps:
|
|||||||
provenance: false
|
provenance: false
|
||||||
repo: thegeeklab/${CI_REPO_NAME}
|
repo: thegeeklab/${CI_REPO_NAME}
|
||||||
when:
|
when:
|
||||||
- ref: refs/pull/**
|
- event:
|
||||||
|
- pull_request
|
||||||
|
|
||||||
publish-dockerhub:
|
publish-dockerhub:
|
||||||
group: build
|
group: build
|
||||||
@ -38,8 +42,11 @@ steps:
|
|||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
when:
|
when:
|
||||||
- ref: refs/heads/main
|
- event:
|
||||||
- ref: refs/tags/**
|
- tag
|
||||||
|
- event: push
|
||||||
|
branch:
|
||||||
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
|
||||||
publish-quay:
|
publish-quay:
|
||||||
group: build
|
group: build
|
||||||
@ -60,8 +67,11 @@ steps:
|
|||||||
username:
|
username:
|
||||||
from_secret: quay_username
|
from_secret: quay_username
|
||||||
when:
|
when:
|
||||||
- ref: refs/heads/main
|
- event:
|
||||||
- ref: refs/tags/**
|
- tag
|
||||||
|
- event: push
|
||||||
|
branch:
|
||||||
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- test
|
- test
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
---
|
---
|
||||||
when:
|
when:
|
||||||
- ref: refs/heads/main
|
- event:
|
||||||
- ref: refs/tags/**
|
- tag
|
||||||
|
- event: push
|
||||||
|
branch:
|
||||||
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||||||
runs_on:
|
runs_on:
|
||||||
- success
|
- success
|
||||||
- failure
|
- failure
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
---
|
---
|
||||||
when:
|
when:
|
||||||
- ref: refs/heads/main
|
- event:
|
||||||
- ref: refs/tags/**
|
- pull_request
|
||||||
- ref: refs/pull/**
|
- tag
|
||||||
|
- event: push
|
||||||
|
branch:
|
||||||
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
checksum:
|
checksum:
|
||||||
@ -34,7 +37,8 @@ steps:
|
|||||||
overwrite: true
|
overwrite: true
|
||||||
title: ${CI_COMMIT_TAG}
|
title: ${CI_COMMIT_TAG}
|
||||||
when:
|
when:
|
||||||
- ref: refs/tags/**
|
- event:
|
||||||
|
- tag
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- test
|
- test
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
---
|
---
|
||||||
when:
|
when:
|
||||||
- ref: refs/heads/main
|
- event:
|
||||||
- ref: refs/tags/**
|
- pull_request
|
||||||
- ref: refs/pull/**
|
- tag
|
||||||
|
- event: push
|
||||||
|
branch:
|
||||||
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
lint:
|
lint:
|
||||||
|
Loading…
Reference in New Issue
Block a user