diff --git a/images/actions/java/Dockerfile b/images/actions/java/Dockerfile index e9a7ec5..8d4dbb9 100644 --- a/images/actions/java/Dockerfile +++ b/images/actions/java/Dockerfile @@ -4,5 +4,5 @@ ARG PACKAGE_VERSION ENV PACKAGE_VERSION=${PACKAGE_VERSION} RUN \ - java_package_name=$(echo "java-${PACKAGE_VERSION}-openjdk") && \ - sudo zypper -n install $java_package_name \ No newline at end of file + java_version=$(echo ${PACKAGE_VERSION}) && \ + sudo zypper -n install "java-${java_version}-openjdk" \ No newline at end of file