From 358e297b41b29b492eddceeb5c02cc2fc3eaac1f Mon Sep 17 00:00:00 2001 From: "spaceBearAmadeus (Alex)" Date: Thu, 31 Oct 2024 17:28:27 -0400 Subject: [PATCH] update api and worker builds --- .github/workflows/deploy-base.yml | 6 +++--- api/Dockerfile-api | 3 ++- worker/Dockerfile-worker | 3 ++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-base.yml b/.github/workflows/deploy-base.yml index 64f74f27c..a4e84d8ec 100644 --- a/.github/workflows/deploy-base.yml +++ b/.github/workflows/deploy-base.yml @@ -30,13 +30,13 @@ jobs: - name: Build base image run: | - docker build --no-cache -f ./Dockerfile-base -t ${{ env.BASE_IMG }}:${{ env.BASE_VERSION }} . + docker build --no-cache -f ./Dockerfile-base -t ${{ env.BASE_IMG }}:${{ env.BASE_VERSION }}-test . - name: Deploy new base version to GHCR run: | - docker push ${{ env.BASE_IMG }}:${{ env.BASE_VERSION }} + docker push ${{ env.BASE_IMG }}:${{ env.BASE_VERSION }}-test - name: Deploy new latest base version run: | - docker tag ${{ env.BASE_IMG }}:${{ env.BASE_VERSION }} ${{ env.BASE_IMG }}:latest + docker tag ${{ env.BASE_IMG }}:${{ env.BASE_VERSION }}-test ${{ env.BASE_IMG }}:latest docker push ${{ env.BASE_IMG }}:latest \ No newline at end of file diff --git a/api/Dockerfile-api b/api/Dockerfile-api index 2261ddb0b..9c59002a3 100644 --- a/api/Dockerfile-api +++ b/api/Dockerfile-api @@ -1,6 +1,7 @@ # Api container (CURRENTLY STABLE BASE IS LATEST 0.1.5 -FROM ghcr.io/biosimulators/bio-check-base:latest +# FROM ghcr.io/biosimulators/bio-check-base:latest +FROM ghcr.io/biosimulators/bio-check-base:0.2.2-test RUN mkdir api diff --git a/worker/Dockerfile-worker b/worker/Dockerfile-worker index 4ed389296..6c319a09f 100644 --- a/worker/Dockerfile-worker +++ b/worker/Dockerfile-worker @@ -1,5 +1,6 @@ # Worker microservice -FROM ghcr.io/biosimulators/bio-check-base:latest +# FROM ghcr.io/biosimulators/bio-check-base:latest +FROM ghcr.io/biosimulators/bio-check-base:0.2.2-test # os deps RUN apt-get update && apt-get install -y libatlas-base-dev \