From 2e50e943c0bfb1866c894c5fb012a67b7dd85aca Mon Sep 17 00:00:00 2001 From: ShockedPlot7560 Date: Sat, 23 Dec 2023 17:03:46 +0100 Subject: [PATCH] update CI --- .github/workflows/docker-image.yml | 3 ++- Dockerfile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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)