Skip to content

Commit

Permalink
fix(build-push.yml): sed 에러 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jjaegii committed Sep 13, 2024
1 parent 8b5bec5 commit 4f50dfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
- name: Update Kubernetes Manifests # refs/heads/deploy -> refs/heads/release 추후 변경
run: |
if [[ "${{ github.ref }}" == "refs/heads/dev" ]]; then
sed -i 's/your-image-tag/${{ github.sha }}/g' k8s/dev/deployment.yaml
sed -i 's/\${IMAGE_TAG}/'"${{ github.sha }}"'/g' k8s/dev/deployment.yaml
elif [[ "${{ github.ref }}" == "refs/heads/deploy" ]]; then
sed -i 's/your-image-tag/${{ github.sha }}/g' k8s/release/deployment.yaml
sed -i 's/\${IMAGE_TAG}/'"${{ github.sha }}"'/g' k8s/release/deployment.yaml
fi
- name: Commit and Push Updated Manifests
Expand Down

0 comments on commit 4f50dfd

Please sign in to comment.