You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by el...@apache.org on 2023/06/13 23:39:12 UTC
[superset] 01/07: test #1
This is an automated email from the ASF dual-hosted git repository.
elizabeth pushed a commit to branch elizabeth/test-2.1.1
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 502b8b81e03adc8f22695cf987d71edc233a2b88
Author: Evan Rusackas <ev...@preset.io>
AuthorDate: Mon May 1 14:18:58 2023 -0600
test #1
---
.github/workflows/docker.yml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index cbbb9a8379..bd3fa3730c 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -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