From 79d57501bd4a5294077da414bb0ff84cb16820d4 Mon Sep 17 00:00:00 2001 From: Toomore Chiang Date: Wed, 1 Jun 2022 12:17:20 +0800 Subject: [PATCH] Fixed the wrong base image version --- .github/workflows/docker-compose.yml | 4 +--- build-base.sh | 2 +- docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-compose.yml b/.github/workflows/docker-compose.yml index 25b6baf7..7db5e70a 100644 --- a/.github/workflows/docker-compose.yml +++ b/.github/workflows/docker-compose.yml @@ -14,10 +14,8 @@ jobs: run: docker images - name: Rename sample setting file run: mv ./setting_sample.py ./setting.py - - name: Build images - run: docker compose build --no-cache - name: UP - run: docker compose up --detach + run: docker compose up --build --detach - name: List images run: docker images - name: List container diff --git a/build-base.sh b/build-base.sh index c2086784..421b12a9 100644 --- a/build-base.sh +++ b/build-base.sh @@ -1 +1 @@ -docker build --no-cache=true -t coscupweb-base:22.05.23 -f ./Dockerfile-base ./ +docker build --no-cache=true -t coscupweb-base:22.06.01 -f ./Dockerfile-base ./ diff --git a/docker-compose.yml b/docker-compose.yml index 8c54f16d..e8f525f6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,7 +19,7 @@ services: - backend webappbase: - image: "coscupweb-base:22.05.23" + image: "coscupweb-base:22.06.01" build: context: . dockerfile: ./Dockerfile-base-dev