mirror of
https://github.com/qdm12/gluetun.git
synced 2025-12-11 04:38:54 -06:00
fix(ci): trigger CI on published releases
This commit is contained in:
parent
77e4317135
commit
b9a9319cb4
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -1,5 +1,8 @@
|
|||||||
name: CI
|
name: CI
|
||||||
on:
|
on:
|
||||||
|
release:
|
||||||
|
types:
|
||||||
|
- published
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
@ -33,7 +36,8 @@ jobs:
|
|||||||
if: |
|
if: |
|
||||||
github.actor != 'dependabot[bot]' &&
|
github.actor != 'dependabot[bot]' &&
|
||||||
(github.event_name == 'push' ||
|
(github.event_name == 'push' ||
|
||||||
github.event.pull_request.head.repo.full_name == github.repository)
|
github.event_name == 'release' ||
|
||||||
|
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository))
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
DOCKER_BUILDKIT: "1"
|
DOCKER_BUILDKIT: "1"
|
||||||
@ -73,7 +77,10 @@ jobs:
|
|||||||
|
|
||||||
publish:
|
publish:
|
||||||
# Only run if it's a push event or if it's a PR from this repository
|
# Only run if it's a push event or if it's a PR from this repository
|
||||||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
|
if: |
|
||||||
|
github.event_name == 'push' ||
|
||||||
|
github.event_name == 'release' ||
|
||||||
|
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
|
||||||
needs: [verify]
|
needs: [verify]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user