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:
|
||||
- ref: refs/heads/main
|
||||
- ref: refs/tags/**
|
||||
- ref: refs/pull/**
|
||||
- event:
|
||||
- pull_request
|
||||
- tag
|
||||
- event: push
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
|
||||
steps:
|
||||
dryrun:
|
||||
@ -18,7 +21,8 @@ steps:
|
||||
provenance: false
|
||||
repo: thegeeklab/${CI_REPO_NAME}
|
||||
when:
|
||||
- ref: refs/pull/**
|
||||
- event:
|
||||
- pull_request
|
||||
|
||||
publish-dockerhub:
|
||||
group: build
|
||||
@ -38,8 +42,11 @@ steps:
|
||||
username:
|
||||
from_secret: docker_username
|
||||
when:
|
||||
- ref: refs/heads/main
|
||||
- ref: refs/tags/**
|
||||
- event:
|
||||
- tag
|
||||
- event: push
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
|
||||
publish-quay:
|
||||
group: build
|
||||
@ -60,8 +67,11 @@ steps:
|
||||
username:
|
||||
from_secret: quay_username
|
||||
when:
|
||||
- ref: refs/heads/main
|
||||
- ref: refs/tags/**
|
||||
- event:
|
||||
- tag
|
||||
- event: push
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
|
||||
depends_on:
|
||||
- test
|
||||
|
@ -1,7 +1,10 @@
|
||||
---
|
||||
when:
|
||||
- ref: refs/heads/main
|
||||
- ref: refs/tags/**
|
||||
- event:
|
||||
- tag
|
||||
- event: push
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
runs_on:
|
||||
- success
|
||||
- failure
|
||||
|
@ -1,8 +1,11 @@
|
||||
---
|
||||
when:
|
||||
- ref: refs/heads/main
|
||||
- ref: refs/tags/**
|
||||
- ref: refs/pull/**
|
||||
- event:
|
||||
- pull_request
|
||||
- tag
|
||||
- event: push
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
|
||||
steps:
|
||||
checksum:
|
||||
@ -34,7 +37,8 @@ steps:
|
||||
overwrite: true
|
||||
title: ${CI_COMMIT_TAG}
|
||||
when:
|
||||
- ref: refs/tags/**
|
||||
- event:
|
||||
- tag
|
||||
|
||||
depends_on:
|
||||
- test
|
||||
|
@ -1,8 +1,11 @@
|
||||
---
|
||||
when:
|
||||
- ref: refs/heads/main
|
||||
- ref: refs/tags/**
|
||||
- ref: refs/pull/**
|
||||
- event:
|
||||
- pull_request
|
||||
- tag
|
||||
- event: push
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
|
||||
steps:
|
||||
lint:
|
||||
|
Loading…
Reference in New Issue
Block a user