diff --git a/bin/update_version.sh b/bin/update_version.sh index e75b085d..d6f24e23 100755 --- a/bin/update_version.sh +++ b/bin/update_version.sh @@ -24,7 +24,7 @@ for i in README.md site/content/install.md ; do done for i in $(find dockers -name Dockerfile) ; do - sed "s/ARG version=\"[0-9.]*\"/ARG version=\"${VERSION}\"/g" "$i" > a ; mv a "$i" + sed "s/ARG PochiVersion=\"[0-9.]*\"/ARG PochiVersion=\"${VERSION}\"/g" "$i" > a ; mv a "$i" done for i in bin/make_dist.sh bin/build_site.sh bin/build_dockers.sh ; do diff --git a/dockers/pochi-groovysh/Dockerfile b/dockers/pochi-groovysh/Dockerfile index 840deac5..d13d2c3c 100644 --- a/dockers/pochi-groovysh/Dockerfile +++ b/dockers/pochi-groovysh/Dockerfile @@ -19,7 +19,7 @@ ARG PochiVersion="2.3.1" ARG GroovyVersion="3.0.8" LABEL maintainer="Haruaki Tamada" \ - pochi-version="${version}" \ + pochi-version="${PochiVersion}" \ description="Java birthmarking toolkit." COPY --from=base /opt/openjdk-11-minimal /opt/openjdk-11-minimal diff --git a/dockers/pochi/Dockerfile b/dockers/pochi/Dockerfile index 5285ad9f..785eb303 100644 --- a/dockers/pochi/Dockerfile +++ b/dockers/pochi/Dockerfile @@ -18,7 +18,7 @@ FROM alpine:3.10.1 ARG PochiVersion="2.3.1" LABEL maintainer="Haruaki Tamada" \ - pochi-version="${version}" \ + pochi-version="${PochiVersion}" \ description="Java birthmarking toolkit (without interactive mode)." COPY --from=base /opt/openjdk-11-minimal /opt/openjdk-11-minimal