mirror of
https://github.com/apache/superset.git
synced 2024-09-18 11:39:49 -04:00
1f27b62d51
* Use git submodules for (securely) using third party Github Actions List of repositories added as submodules: EndBug/latest-tag@latest morrisoncole/pr-lint-action@v1.4.1 trilom/file-changes-action@v1.2.4 styfle/cancel-workflow-action@0.6.0 apache-superset/cached-dependencies@b90713b unsplash/comment-on-pr@v1.2.0
27 lines
615 B
YAML
27 lines
615 B
YAML
name: Docker
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
pull_request:
|
|
types: [synchronize, opened, reopened, ready_for_review]
|
|
|
|
jobs:
|
|
build:
|
|
if: github.event.pull_request.draft == false
|
|
name: build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
|
uses: actions/checkout@v2
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- shell: bash
|
|
env:
|
|
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
|
|
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
run: |
|
|
.github/workflows/docker_build_push.sh
|