Skip to content

Commit

Permalink
check secret
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Jan 25, 2024
1 parent d47cb99 commit 11bc75b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
types: [synchronize, opened, reopened, ready_for_review]

jobs:
config:
check-secret:
runs-on: "ubuntu-latest"
outputs:
has-secrets: ${{ steps.check.outputs.has-secrets }}
Expand All @@ -27,7 +27,7 @@ jobs:
echo "no secrets!"
fi
docker-build:
if: steps.config.outputs.has-secrets == 'true'
if: steps.check-secret.outputs.has-secrets == 'true'
name: docker-build
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -63,8 +63,8 @@ jobs:
./scripts/docker_build_push.py "" ${{ matrix.target }} ${{ matrix.platform }}
ephemeral-docker-build:
needs: config
if: needs.config.outputs.has-secrets
needs: check-secret
if: steps.check-secret.outputs.has-secrets == 'true'
name: docker-build
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 11bc75b

Please sign in to comment.