From 9078280a44c3c5d5d4e37ad3c7fc356461603e53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Wed, 4 Jan 2023 03:04:00 +0100 Subject: [PATCH] revert to 8.1 in CI for now --- Dockerfile | 3 ++- INTERNAL.md | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 INTERNAL.md diff --git a/Dockerfile b/Dockerfile index 5dfe442c..73a052d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ # add amd64 platform to support Mac M1 FROM --platform=linux/amd64 shivammathur/node:latest-amd64 -ARG PHP_VERSION=8.2 +# todo update this to 8.2 once shivammathur/node supports that +ARG PHP_VERSION=8.1 WORKDIR /var/www/html diff --git a/INTERNAL.md b/INTERNAL.md new file mode 100644 index 00000000..4b3297dd --- /dev/null +++ b/INTERNAL.md @@ -0,0 +1,8 @@ +# Internal development notes + +## Updating the docker image used by the GH action + +1. Login in to Docker Hub: `docker login -u archtechx -p` +2. Build the image (probably shut down docker-compose containers first): `docker-compose build --no-cache` +3. Tag a new image: `docker tag tenancy_test archtechx/tenancy:latest` +4. Push the image: `docker push archtechx/tenancy:latest`