mirror of https://github.com/apache/superset.git
fix(ci): typo in my bash script (#26987)
This commit is contained in:
parent
db79c37707
commit
80fd75dfe1
|
@ -59,6 +59,7 @@ jobs:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
ref: ${{ github.ref }}
|
ref: ${{ github.ref }}
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
|
@ -73,6 +74,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
RELEASE="${{ github.event.release.tag_name }}"
|
RELEASE="${{ github.event.release.tag_name }}"
|
||||||
FORCE_LATEST=""
|
FORCE_LATEST=""
|
||||||
|
EVENT="${{github.event_name}}"
|
||||||
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
|
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
|
||||||
# in the case of a manually-triggered run, read release from input
|
# in the case of a manually-triggered run, read release from input
|
||||||
RELEASE="${{ github.event.inputs.release }}"
|
RELEASE="${{ github.event.inputs.release }}"
|
||||||
|
@ -83,10 +85,11 @@ jobs:
|
||||||
cp ./scripts/build_docker.py /tmp
|
cp ./scripts/build_docker.py /tmp
|
||||||
git checkout "${{ github.event.inputs.git-ref }}"
|
git checkout "${{ github.event.inputs.git-ref }}"
|
||||||
cp /tmp/build_docker.py scripts/
|
cp /tmp/build_docker.py scripts/
|
||||||
|
EVENT="release"
|
||||||
fi
|
fi
|
||||||
pip install click
|
pip install click
|
||||||
./scripts/build_docker.py \
|
./scripts/build_docker.py \
|
||||||
${{ matrix.build_preset }} \
|
${{ matrix.build_preset }} \
|
||||||
"${{ github.event_name }}" \
|
"$EVENT" \
|
||||||
--build_context_ref "$RELEASE" \
|
--build_context_ref "$RELEASE" \
|
||||||
--platform ${{ matrix.platform }} $FORCE_LATEST
|
--platform ${{ matrix.platform }} $FORCE_LATEST
|
||||||
|
|
Loading…
Reference in New Issue