Skip to content

Commit

Permalink
fix: add env version to job
Browse files Browse the repository at this point in the history
  • Loading branch information
seblum committed Aug 12, 2024
1 parent fe72610 commit 4270152
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/CD_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,15 @@ jobs:
needs:
- deploy
- get-tag
env:
TAG_VERSION: ${{ needs.get-tag.outputs.PACKAGE_VERSION }}
steps:
-
name: Checkout code with full history
uses: actions/checkout@v4
with:
fetch-depth: 0
# -
# name: Set up Python
# uses: actions/setup-python@v4
# with:
# python-version: '3.x'
# -
# name: Extract tag version
# id: extract_version
# run: |
Expand All @@ -117,6 +114,7 @@ jobs:
-
name: Update Version in pyproject.toml
run: |
echo "Extracted tag version: $TAG_VERSION"
sed -i "s/^DOCKER_IMAGE: \"octivbooker:.*\"/DOCKER_IMAGE: \"octivbooker:v${{ needs.get-tag.outputs.PACKAGE_VERSION }}\"/" .github/workflows/run-on-schedule.yml
-
name: Verify Update
Expand Down

0 comments on commit 4270152

Please sign in to comment.