Skip to content
This repository has been archived by the owner on Feb 18, 2025. It is now read-only.

Commit

Permalink
fix: change tag name in gitops.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
amber committed Nov 10, 2024
1 parent e87fc61 commit 2c6eb2d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gitops.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
context: ./services/${{ matrix.service }}
push: true
tags: |
z1yoon/nshm-${{ matrix.service }}:${{ github.sha }}
z1yoon/nshm-${{ matrix.service }}:${{ matrix.service }}-${{ github.sha }}
z1yoon/nshm-${{ matrix.service }}:latest
build-args: |
NEXT_PUBLIC_API_BASE_URL=${{ secrets.NEXT_PUBLIC_API_BASE_URL }}
Expand All @@ -86,7 +86,7 @@ jobs:
- name: Update Image Tag Values
run: |
chart_dir="helm/nshm"
new_image_tag=${{ github.sha }}
new_image_tag=${{ matrix.service }}-${{ github.sha }}
sed -i "/z1yoon\/nshm-${{ matrix.service }}/{n;s/tag: .*/tag: $new_image_tag/;}" $chart_dir/values.yaml
cat $chart_dir/values.yaml
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2c6eb2d

Please sign in to comment.