Skip to content

Commit 11bc75b

Browse files
committed
check secret
1 parent d47cb99 commit 11bc75b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docker.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
types: [synchronize, opened, reopened, ready_for_review]
99

1010
jobs:
11-
config:
11+
check-secret:
1212
runs-on: "ubuntu-latest"
1313
outputs:
1414
has-secrets: ${{ steps.check.outputs.has-secrets }}
@@ -27,7 +27,7 @@ jobs:
2727
echo "no secrets!"
2828
fi
2929
docker-build:
30-
if: steps.config.outputs.has-secrets == 'true'
30+
if: steps.check-secret.outputs.has-secrets == 'true'
3131
name: docker-build
3232
runs-on: ubuntu-latest
3333
strategy:
@@ -63,8 +63,8 @@ jobs:
6363
./scripts/docker_build_push.py "" ${{ matrix.target }} ${{ matrix.platform }}
6464
6565
ephemeral-docker-build:
66-
needs: config
67-
if: needs.config.outputs.has-secrets
66+
needs: check-secret
67+
if: steps.check-secret.outputs.has-secrets == 'true'
6868
name: docker-build
6969
runs-on: ubuntu-latest
7070
steps:

0 commit comments

Comments
 (0)