Skip to content

Commit

Permalink
fix credential vending document
Browse files Browse the repository at this point in the history
  • Loading branch information
FANNG1 committed Jan 17, 2025
1 parent c380344 commit adce82a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ on:
required: true
type: string
latest:
description: 'Choose whether to use the latest version'
description: 'whether publish the image to docker latest tag, only used for offical release, don't use it for RC'
required: false
type: boolean
default: false
Expand Down Expand Up @@ -120,8 +120,10 @@ jobs:
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/hostedtoolcache/CodeQL
if [[ "${image_type}" == "gravitino" || "${image_type}" == "iceberg-rest-server" ]]; then
./dev/docker/build-docker.sh --platform all --type ${image_type} --image ${image_name} --tag ${{ github.event.inputs.version }} --latest
if [[ "${image_type}" == "gravitino" || "${image_type}" == "iceberg-rest-server" || "${{ github.event.inputs.latest }}" == "true" ]]; then
echo "latest"
#./dev/docker/build-docker.sh --platform all --type ${image_type} --image ${image_name} --tag ${{ github.event.inputs.version }} --latest
else
./dev/docker/build-docker.sh --platform all --type ${image_type} --image ${image_name} --tag "${tag_name}-${{ github.event.inputs.version }}"
echo "not latest"
#./dev/docker/build-docker.sh --platform all --type ${image_type} --image ${image_name} --tag "${tag_name}-${{ github.event.inputs.version }}"
fi

0 comments on commit adce82a

Please sign in to comment.