dynamic FROM test
Some checks failed
ci/woodpecker/push/build_dev Pipeline failed

This commit is contained in:
Ruben Momoa
2024-08-22 16:05:56 +02:00
parent ed046e5d7e
commit 67c02c8af1
2 changed files with 5 additions and 5 deletions

View File

@@ -21,4 +21,4 @@ steps:
repo: vistanarvas/${CI_REPO_NAME}
tag: ${CI_COMMIT_BRANCH}-${PHP_VERSION}
build_args:
PHP_VERSION: "php:${PHP_VERSION}"
BASE_VERSION: "php:${PHP_VERSION}"

View File

@@ -1,10 +1,10 @@
ARG PHP_VERSION
ARG BASE_VERSION
FROM php:latest
RUN echo PHP_VERSION;
RUN echo $PHP_VERSION;
RUN echo ${PHP_VERSION};
RUN echo BASE_VERSION;
RUN echo $BASE_VERSION;
RUN echo ${BASE_VERSION};
# port to for the webserver
ENV WEBSERVER_PORT=8080