diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 4c12b14..f44c709 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -47,4 +47,5 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }},${{ env.REGISTRY }}/${{ env.SERVER_NAME }}/${{ env.IMAGE_NAME }}-php${{ matrix.php }}:latest build-args: | - PHP_VERSION=${{ matrix.php }} \ No newline at end of file + PHP_VERSION=${{ matrix.php }} + PMMP_TAG=5.10.0 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index ccb4ff1..d019f20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Build stage for compilation. Build tools like g++ will not be copied into the final stage to reduce image size. FROM ubuntu:22.04 -ARG PMMP_TAG ARG PMMP_REPO=pmmp/PocketMine-MP +ARG PMMP_TAG ARG PHP_VERSION RUN test ! -z ${PHP_VERSION} || (echo "Missing build-arg PHP_VERSION" && false)