Skip to content

Commit

Permalink
update api and worker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Oct 31, 2024
1 parent 428b609 commit 358e297
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion api/Dockerfile-api
Original file line number Diff line number Diff line change
@@ -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

Expand Down
3 changes: 2 additions & 1 deletion worker/Dockerfile-worker
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down

0 comments on commit 358e297

Please sign in to comment.