We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84bc1dc commit 820f1e0Copy full SHA for 820f1e0
1 file changed
.github/workflows/docker-images.yml
@@ -94,13 +94,10 @@ jobs:
94
- name: Validate nightly tag suffix
95
if: github.event_name == 'schedule'
96
run: |
97
- case "$tag" in
98
- *-SNAPSHOT) ;;
99
- *)
100
- echo "Nightly image tag must end with -SNAPSHOT, got: $tag"
101
- exit 1
102
- ;;
103
- esac
+ if [[ "$tag" != *-SNAPSHOT ]]; then
+ echo "Nightly image tag must end with -SNAPSHOT, got: $tag"
+ exit 1
+ fi
104
105
- name: Build Hive project
106
if: github.event_name != 'workflow_dispatch'
0 commit comments