Skip to content

Commit

Permalink
updated cd
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Sep 13, 2024
1 parent 38ac36b commit d282f66
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,25 @@ jobs:
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version # Check if Docker Compose is installed correctly
- name: Install Python and PyYAML
run: |
sudo apt-get update
sudo apt-get install -y python3 python3-pip
pip install pyyaml
# Step 5: Extract API container version
- name: Extract API container version
id: extract_api_version
run: |
API_VERSION=$(python3 parse_container_version.py compose_api)
API_VERSION=$(python3 .github/parse_container_version.py compose_api)
echo "API_VERSION=$API_VERSION" >> $GITHUB_ENV
echo "API Version: $API_VERSION"
# Step 6: Extract worker container version
- name: Extract worker container version
id: extract_worker_version
run: |
API_VERSION=$(python3 parse_container_version.py compose_worker)
API_VERSION=$(python3 .github/parse_container_version.py compose_worker)
echo "WORKER_VERSION=$VERSION" >> $GITHUB_ENV
echo "WORKER Version: $WORKER_VERSION"
Expand Down

0 comments on commit d282f66

Please sign in to comment.