mirror of
https://github.com/apache/superset.git
synced 2026-04-21 00:54:44 +00:00
feat: Adding docker build/push (#11616)
* Adding docker build/push * Adding build script * Trying username * Updating build script * Fixing script path? * Lising envvars * Pulling HEAD * Actually pushing * Fixing build / SHA * Logout before login * updating docker login * Fixing docker login * Trying stdin pwd * Adding check for forks * Fixing tagging * Fixing refspec * Updating Dockerfile-dev * Adding license to script * Fixing Cypress tests
This commit is contained in:
20
.github/workflows/docker.yml
vendored
Normal file
20
.github/workflows/docker.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Docker
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
- shell: bash
|
||||
env:
|
||||
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
run: |
|
||||
.github/workflows/docker_build_push.sh
|
||||
Reference in New Issue
Block a user