mirror of
https://github.com/usatiuk/y.git
synced 2025-10-28 18:37:47 +01:00
Run docker ci only when tests pass
This commit is contained in:
6
.github/workflows/docker-publish.yml
vendored
6
.github/workflows/docker-publish.yml
vendored
@@ -10,6 +10,11 @@ on:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
workflow_run:
|
||||
workflows: ["Java CI with Gradle"]
|
||||
branches: [main]
|
||||
types:
|
||||
- completed
|
||||
|
||||
env:
|
||||
# Use docker.io for Docker Hub if empty
|
||||
@@ -20,7 +25,6 @@ env:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
Reference in New Issue
Block a user