Skip to content

Commit

Permalink
fix: pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Jan 8, 2025
1 parent 199e004 commit 762ecaa
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,33 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Get image root
run: |
IMG_ROOT=ghcr.io/biosimulators/bio-compose-server
echo "IMG_ROOT=$IMG_ROOT" >> $GITHUB_ENV
- name: Get base image
run: |
BASE_VERSION=$(cat ./assets/docker/.BASE_VERSION)
BASE_IMG="${{ env.IMG_ROOT }}-base:$BASE_VERSION-dev"
BASE_IMG="$IMG_ROOT-base:$BASE_VERSION-dev"
echo "BASE_IMG=$BASE_IMG" >> $GITHUB_ENV
- name: Extract Gateway container image
# id: extract_gateway_version
run: |
GATEWAY_VERSION=$(python -B .github/parse_container_version.py gateway)
GATEWAY_IMG="${{ env.IMG_ROOT }}-gateway:$GATEWAY_VERSION-dev"
GATEWAY_IMG="$IMG_ROOT-gateway:$GATEWAY_VERSION-dev"
echo "GATEWAY_IMG=$GATEWAY_IMG" >> $GITHUB_ENV
- name: Extract worker container image
run: |
WORKER_VERSION=$(python -B .github/parse_container_version.py worker)
WORKER_IMG="${{ env.IMG_ROOT }}-worker:$WORKER_VERSION-dev"
WORKER_IMG="$IMG_ROOT-worker:$WORKER_VERSION-dev"
echo "WORKER_IMG=$WORKER_IMG" >> $GITHUB_ENV
- name: Debug output of extracted images
run: |
echo "IMG_ROOT=${{ env.IMG_ROOT }}"
echo "IMG_ROOT=$IMG_ROOT"
echo "BASE_IMG=$BASE_IMG"
echo "GATEWAY_IMG=$GATEWAY_IMG"
echo "WORKER_IMG=$WORKER_IMG"
Expand Down

0 comments on commit 762ecaa

Please sign in to comment.