Skip to content

Commit 3206f81

Browse files
committed
Temporary fix to get 5.2.x releases
1 parent a7c3896 commit 3206f81

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ RUN \
4848
mkdir -p /app/phpmyadmin && \
4949
if [ -z ${PHPMYADMIN_VERSION+x} ]; then \
5050
PHPMYADMIN_VERSION=$(curl -sX GET "https://api.github.com/repos/phpmyadmin/phpmyadmin/releases" \
51-
| jq -r 'first(.[] | select(.name | startswith("5")) | select (.prerelease==false)) | .name'); \
51+
| jq -r 'first(.[] | select(.name | startswith("5.2")) | select (.prerelease==false)) | .name'); \
5252
fi && \
5353
curl -s -o \
5454
/tmp/phpmyadmin.tar.xz -L \

Dockerfile.aarch64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ RUN \
4848
mkdir -p /app/phpmyadmin && \
4949
if [ -z ${PHPMYADMIN_VERSION+x} ]; then \
5050
PHPMYADMIN_VERSION=$(curl -sX GET "https://api.github.com/repos/phpmyadmin/phpmyadmin/releases" \
51-
| jq -r 'first(.[] | select(.name | startswith("5")) | select (.prerelease==false)) | .name'); \
51+
| jq -r 'first(.[] | select(.name | startswith("5.2")) | select (.prerelease==false)) | .name'); \
5252
fi && \
5353
curl -s -o \
5454
/tmp/phpmyadmin.tar.xz -L \

Dockerfile.armhf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ RUN \
4848
mkdir -p /app/phpmyadmin && \
4949
if [ -z ${PHPMYADMIN_VERSION+x} ]; then \
5050
PHPMYADMIN_VERSION=$(curl -sX GET "https://api.github.com/repos/phpmyadmin/phpmyadmin/releases" \
51-
| jq -r 'first(.[] | select(.name | startswith("5")) | select (.prerelease==false)) | .name'); \
51+
| jq -r 'first(.[] | select(.name | startswith("5.2")) | select (.prerelease==false)) | .name'); \
5252
fi && \
5353
curl -s -o \
5454
/tmp/phpmyadmin.tar.xz -L \

jenkins-vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# jenkins variables
44
project_name: docker-phpmyadmin
55
external_type: na
6-
custom_version_command: "curl -sX GET 'https://api.github.com/repos/phpmyadmin/phpmyadmin/releases' | jq -r 'first(.[] | select(.name | startswith(\"5\")) | select (.prerelease==false)) | .name'"
6+
custom_version_command: "curl -sX GET 'https://api.github.com/repos/phpmyadmin/phpmyadmin/releases' | jq -r 'first(.[] | select(.name | startswith(\"5.2\")) | select (.prerelease==false)) | .name'"
77
release_type: stable
88
release_tag: latest
99
ls_branch: main

0 commit comments

Comments
 (0)