Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
kennyd3d committed Oct 14, 2024
1 parent 2cb5d18 commit 7a731d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,8 @@ jobs:
pip install -r requirements.txt
- name: Update image tag in values.yaml
env:
IMAGE_TAG: ${{ env.SHA_SHORT }}
run: |
yq e -i '.environments.dev.image = "kennyd3d/hello-world-app:${{ env.IMAGE_TAG }}"' ./CICD/hello-world-app/values.yaml
yq e -i '.environments.dev.image = "kennyd3d/hello-world-app:${{ env.SHA_SHORT }}"' ./CICD/hello-world-app/values.yaml
- name: Build and Push Docker image
uses: docker/build-push-action@v3
Expand All @@ -59,7 +57,7 @@ jobs:
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add ./CICD/hello-world-app/values.yaml
git commit -m "Update k8 deployment"
git commit -m "[BOT] Update k8 deployment"
- name: Push changes
uses: ad-m/github-push-action@master
Expand Down
3 changes: 3 additions & 0 deletions CICD/hello-world-app/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace: dev
image: kennyd3d/hello-world-app:dev

# Overrides
environments:
dev:
namespace: dev
Expand Down

0 comments on commit 7a731d9

Please sign in to comment.