Skip to content

Commit

Permalink
Hot fix build image (#84)
Browse files Browse the repository at this point in the history
Co-authored-by: amber <>
Co-authored-by: nshm <[email protected]>
  • Loading branch information
z1yoon and nshm authored Nov 10, 2024
1 parent 2fd5bf2 commit ac66e8e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/gitops.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- hot-fix-build-image
paths:
- services/**

Expand Down Expand Up @@ -91,18 +92,8 @@ jobs:
- name: Commit the changes
run: |
# Configure Git user details
git config --global user.email "[email protected]"
git config --global user.name "nshm"
# Check out the branch that triggered the workflow
git fetch origin
git checkout $GITHUB_REF_NAME
# Pull the latest changes from the remote branch, allowing rebasing to keep history clean
git pull origin $GITHUB_REF_NAME --rebase || true
# Commit any changes (including uncommitted changes) and push
git add -A
git commit -m "chore: auto-commit and updated image tags for services: ${{ matrix.service }}" || echo "No changes to commit"
git push origin $GITHUB_REF_NAME || echo "Nothing to push"
git fetch origin
git config --global user.email "[email protected]"
git config --global user.name "nshm"
git commit -am "chore: updated image tags for services: ${{ matrix.service }}"
git push origin $GITHUB_REF_NAME --force
2 changes: 1 addition & 1 deletion helm/nshm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ wishlist:
web:
image:
repository: z1yoon/nshm-web
tag: e4c2d79d7e2c4ba2cc12a51d0ca5feeb38852d7f
tag: 0632970267289c35ded855c692f3fdd5f905081c
replicas: 1
resources:
limits:
Expand Down

0 comments on commit ac66e8e

Please sign in to comment.