Skip to content

Commit

Permalink
fixing writing to .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
SYusupov committed Sep 16, 2024
1 parent 21f3f25 commit 4a7efb0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,12 @@ jobs:
run: |
echo "DOCKERHUB_USERNAME=${{ secrets.DOCKERHUB_USERNAME }}" > .env
# defining image tag manually, in case didn't run docker_build
echo "DOCKER_IMAGE_TAG=ffb120a49495b896072b545614d717235ca924b4" > .env
# Uncomment the following line if you want to set the tag based on commit-id dynamically
# in case didn't run docker_build workflow
echo "DOCKER_IMAGE_TAG=ffb120a49495b896072b545614d717235ca924b4" >> .env
# # defining image tag based on commit-id
# echo "DOCKER_IMAGE_TAG=$(git rev-parse HEAD)" > .env
# echo "DOCKER_IMAGE_TAG=$(git rev-parse HEAD)" >> .env
docker compose up --build
Expand Down

0 comments on commit 4a7efb0

Please sign in to comment.