File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 7
7
- release/*
8
8
- sam/docker-oriole17
9
9
paths :
10
- # - ".github/workflows/dockerhub-release-matrix.yml"
11
- # - "anisble/vars.yml"
12
10
- ' **'
13
11
workflow_dispatch :
14
12
29
27
# Get all postgres versions from vars.yml
30
28
VERSIONS=$(nix run nixpkgs#yq -- '.postgres_major[]' ansible/vars.yml)
31
29
32
- # Check which versions have corresponding Dockerfiles and create matrix config
30
+ # Create matrix config
33
31
MATRIX_CONFIG="{"
34
32
MATRIX_CONFIG+="\"include\":["
35
33
FIRST=true
38
36
# Remove quotes from version
39
37
version=$(echo "$version" | tr -d '"')
40
38
41
- # Determine dockerfile name based on version
42
- if [[ "$version" == "orioledb-"* ]]; then
43
- dockerfile="Dockerfile-${version#orioledb-}-orioledb"
44
- else
45
- dockerfile="Dockerfile-${version}"
46
- fi
39
+ # Simply look for Dockerfile-{version}
40
+ dockerfile="Dockerfile-${version}"
47
41
48
42
# Check if Dockerfile exists
49
43
if [ -f "$dockerfile" ]; then
You can’t perform that action at this time.
0 commit comments