From 5b0df56759c1216b9519f04f6cac7db092be50ca Mon Sep 17 00:00:00 2001 From: yx_xuliang Date: Tue, 20 Aug 2024 14:02:14 +0800 Subject: [PATCH] 123 --- .github/workflows/docker-publish.yml | 2 +- {glibc_jdk8 => jre}/Dockerfile | 1 + {glibc_jdk8 => jre}/README.MD | 0 {glibc_jdk8 => jre}/jre1.8.tar.gz | Bin 4 files changed, 2 insertions(+), 1 deletion(-) rename {glibc_jdk8 => jre}/Dockerfile (94%) rename {glibc_jdk8 => jre}/README.MD (100%) rename {glibc_jdk8 => jre}/jre1.8.tar.gz (100%) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index d0d9c8c..f157410 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -36,7 +36,7 @@ jobs: PASSWORD: ${{secrets.PASSWORD}} run: | docker login -u ${USERNAME} -p ${PASSWORD} - for file in ${ALL_CHANGED_FILES}; do + for file in `echo ${ALL_CHANGED_FILES}|tr " " "\n" | sort |uniq`; do CHANGEFOLDER=$(echo ${file}|awk -F"/" '{print $1}') cd ${CHANGEFOLDER} VERSION=$(grep -w VERSION Dockerfile |awk -F":" '{print $2}') diff --git a/glibc_jdk8/Dockerfile b/jre/Dockerfile similarity index 94% rename from glibc_jdk8/Dockerfile rename to jre/Dockerfile index f6883af..d5217d2 100644 --- a/glibc_jdk8/Dockerfile +++ b/jre/Dockerfile @@ -1,4 +1,5 @@ FROM pilgrima/alpine-glibc:latest +# VERSION:v1.8.0_401 MAINTAINER pilgrima ADD jre1.8.tar.gz /usr/java/jdk/ ENV JAVA_HOME /usr/java/jdk/jre1.8.0_401 diff --git a/glibc_jdk8/README.MD b/jre/README.MD similarity index 100% rename from glibc_jdk8/README.MD rename to jre/README.MD diff --git a/glibc_jdk8/jre1.8.tar.gz b/jre/jre1.8.tar.gz similarity index 100% rename from glibc_jdk8/jre1.8.tar.gz rename to jre/jre1.8.tar.gz