You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2024/02/02 17:08:53 UTC
(superset) branch master updated: fix(ci): typo in my bash script (#26987)
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 80fd75dfe1 fix(ci): typo in my bash script (#26987)
80fd75dfe1 is described below
commit 80fd75dfe1cd926f794776384c447d5298669acf
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Fri Feb 2 09:08:46 2024 -0800
fix(ci): typo in my bash script (#26987)
---
.github/workflows/docker-release.yml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml
index 0d0770db28..3ba7b6bf42 100644
--- a/.github/workflows/docker-release.yml
+++ b/.github/workflows/docker-release.yml
@@ -59,6 +59,7 @@ jobs:
persist-credentials: false
submodules: recursive
ref: ${{ github.ref }}
+ fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
@@ -73,9 +74,10 @@ jobs:
run: |
RELEASE="${{ github.event.release.tag_name }}"
FORCE_LATEST=""
+ EVENT="${{github.event_name}}"
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
# in the case of a manually-triggered run, read release from input
- RELEASE ="${{ github.event.inputs.release }}"
+ RELEASE="${{ github.event.inputs.release }}"
if [ "${{ github.event.inputs.force-latest }}" = "true" ]; then
FORCE_LATEST="--force-latest"
fi
@@ -83,10 +85,11 @@ jobs:
cp ./scripts/build_docker.py /tmp
git checkout "${{ github.event.inputs.git-ref }}"
cp /tmp/build_docker.py scripts/
+ EVENT="release"
fi
pip install click
./scripts/build_docker.py \
${{ matrix.build_preset }} \
- "${{ github.event_name }}" \
+ "$EVENT" \
--build_context_ref "$RELEASE" \
--platform ${{ matrix.platform }} $FORCE_LATEST