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