Skip to content

Commit

Permalink
pipeline testing
Browse files Browse the repository at this point in the history
  • Loading branch information
priyaranjanpatil committed Dec 14, 2023
1 parent 03c8ad3 commit 246b65e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -366,12 +366,10 @@ jobs:
PORT: ${{ vars.PORT }}
ELASTIC_URL: ${{ vars.ELASTIC_URL }}
ELASTIC_KEY: ${{ vars.ELASTIC_KEY }}
IMAGE: ${{ steps.push-image.outputs.image }}
run: |
IMAGE_ID=${{ env.ECR_REPOSITORY }}:${{ steps.push-image.outputs.image }}
IMAGE_ID=${{ env.ECR_REPOSITORY }}:$IMAGE_TAG
echo $IMAGE_ID
sed -i 's|${CONTAINER_NAME}|'${{ env.CONTAINER_NAME }}'|g' docker-compose.yml
sed -i 's/${GITHUB_ENV_IMAGE_TAG}/'"${GITHUB_ENV_IMAGE_TAG}"'/g' docker-compose.yml
sed -i 's|${IMAGE_ID}|'$IMAGE_ID'|g' docker-compose.yml
sed -i 's|${API_HOST}|'${{ vars.HOST }}'|g' docker-compose.yml
sed -i 's|${API_CONTAINER_PORT}|'${{ vars.PORT }}'|g' docker-compose.yml
Expand Down

0 comments on commit 246b65e

Please sign in to comment.