Skip to content

Commit

Permalink
Add command to display file after substituting its values
Browse files Browse the repository at this point in the history
  • Loading branch information
kmiiloberrio-dev committed Jul 8, 2024
1 parent 3fdbb05 commit 6631c58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ jobs:
env:
DOCKER_IMAGE_TAG: ${{ vars.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}:latest
run: |
sed -i 's|${DOCKER_IMAGE_TAG}|$DOCKER_IMAGE_TAG|g' ./deploy/k8s/deployment.yml
sed -i "s|\${DOCKER_IMAGE_TAG}|$DOCKER_IMAGE_TAG|g" ./deploy/k8s/deployment.yml
cat ./deploy/k8s/deployment.yml
shell: bash

- name: Deploy
Expand Down

0 comments on commit 6631c58

Please sign in to comment.