mirror of
https://github.com/apache/superset.git
synced 2026-05-11 02:45:46 +00:00
test #1
This commit is contained in:
committed by
Elizabeth Thompson
parent
bb6ab97286
commit
502b8b81e0
18
.github/workflows/docker.yml
vendored
18
.github/workflows/docker.yml
vendored
@@ -8,6 +8,24 @@ on:
|
||||
types: [synchronize, opened, reopened, ready_for_review]
|
||||
|
||||
jobs:
|
||||
config:
|
||||
runs-on: "ubuntu-latest"
|
||||
if: github.event.pull_request.draft == false
|
||||
outputs:
|
||||
has-secrets: ${{ steps.check.outputs.has-secrets }}
|
||||
steps:
|
||||
- name: "Check for secrets"
|
||||
id: check
|
||||
shell: bash
|
||||
run: |
|
||||
if [ -n "${{ (secrets.DOCKERHUB_USER != '' && secrets.DOCKERHUB_TOKEN != '') || '' }}" ]; then
|
||||
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
|
||||
echo "has secrets!"
|
||||
else
|
||||
echo "has-secrets=0" >> "$GITHUB_OUTPUT"
|
||||
echo "no secrets!"
|
||||
fi
|
||||
|
||||
docker-build:
|
||||
if: github.event.pull_request.draft == false
|
||||
name: docker-build
|
||||
|
||||
Reference in New Issue
Block a user