Skip to content

Commit

Permalink
fix: use + as sed delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
KenLSM committed Mar 5, 2024
1 parent 0270125 commit e03fda9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy-eb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,13 @@ jobs:
ECR_REPOSITORY: ${{ secrets.ECR_REPO }}
DD_API_KEY: ${{ secrets.DD_API_KEY }}
DD_ENV: ${{ secrets.DD_ENV }}
DD_GIT_REPOSITORY_URL: ${{github.server_url}}/${{github.repository}}
DD_GIT_COMMIT_SHA: ${{github.sha}}
DD_GIT_REPOSITORY_URL: ${{ github.server_url }}/${{ github.repository }}
DD_GIT_COMMIT_SHA: ${{ github.sha }}
run: |
docker tag $ECR_REPOSITORY:$IMAGE_TAG $ECR_REPOSITORY:$BRANCH
docker push -a $ECR_REPOSITORY
echo $DD_GIT_REPOSITORY_URL
echo $DD_GIT_COMMIT_SHA
sed -i -e "s/@TAG/$IMAGE_TAG/g" Dockerrun.aws.json
sed -i -e "s/@DD_API_KEY/$DD_API_KEY/g" -e "s/@DD_ENV/$DD_ENV/g" .ebextensions/99datadog-amazon-linux-2.config
sed -i -e "s/@DD_GIT_REPOSITORY_URL/$DD_GIT_REPOSITORY_URL/g" -e "s/@DD_GIT_COMMIT_SHA/$DD_GIT_COMMIT_SHA/g" .ebextensions/02env-file-datadog.config
Expand Down

0 comments on commit e03fda9

Please sign in to comment.