Skip to content

Commit 93ab450

Browse files
committed
Todo Frontend workflow
1 parent a8105cf commit 93ab450

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/Frontend.CI.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: TODO-FRONTEND-CI
22
on:
33
push:
4-
paths:
5-
- 'frontend/**'
4+
# paths:
5+
# - 'frontend/**'
66
branches:
77
- main
88
- dev
@@ -12,8 +12,8 @@ on:
1212
- main
1313
- dev
1414
- stage
15-
paths:
16-
- 'frontend/**'
15+
# paths:
16+
# - 'frontend/**'
1717

1818
env:
1919
FRONTEND_IMAGE: frontend
@@ -65,40 +65,40 @@ jobs:
6565
echo VERSION=$VERSION
6666
docker tag $FRONTEND_IMAGE $IMAGE_ID:$VERSION
6767
docker push $IMAGE_ID:$VERSION
68-
echo "::set-output name=VERSION::$VERSION"
68+
echo "VERSION=$VERSION" >> $GITHUB_ENV
6969
7070
- name: Update Helm Chart Values at Main
7171
if: ${{ github.ref == 'refs/heads/main'}}
7272
uses: Nextdoor/helm-set-image-tag-action@main
7373
with:
7474
values_files: charts/values.yaml
7575
tag_keys: .frontend.tag
76-
tag_value: ${{ steps.tag.outputs.VERSION }}
76+
tag_value: ${{ env.VERSION }}
7777
commit_branch: ${{ github.ref }}
78-
commit_tag: Todo-Main-Charts-V-${{ steps.tag.outputs.VERSION }}
79-
commit_message: "Frontend update: Tag '${{ steps.tag.outputs.VERSION }}' added"
78+
commit_tag: Todo-Main-Charts-V-${{ env.VERSION }}
79+
commit_message: "Frontend update: Tag '${{ env.VERSION }}' added"
8080

8181
- name: Update Helm Chart Values at Stage
8282
if: ${{ github.ref == 'refs/heads/stage'}}
8383
uses: Nextdoor/helm-set-image-tag-action@main
8484
with:
8585
values_files: charts/values.yaml
8686
tag_keys: .frontend.tag
87-
tag_value: ${{ steps.tag.outputs.VERSION }}
87+
tag_value: ${{ env.VERSION }}
8888
commit_branch: ${{ github.ref }}
89-
commit_tag: Todo-Stage-Charts-V-${{ steps.tag.outputs.VERSION }}
90-
commit_message: "Frontend update: Tag '${{ steps.tag.outputs.VERSION }}' added"
89+
commit_tag: Todo-Stage-Charts-V-${{ env.VERSION }}
90+
commit_message: "Frontend update: Tag '${{ env.VERSION }}' added"
9191

9292
- name: Update Helm Chart Values at Dev
9393
if: ${{ github.ref == 'refs/heads/dev'}}
9494
uses: Nextdoor/helm-set-image-tag-action@main
9595
with:
9696
values_files: charts/values.yaml
9797
tag_keys: .frontend.tag
98-
tag_value: ${{ steps.tag.outputs.VERSION }}
98+
tag_value: ${{ env.VERSION }}
9999
commit_branch: ${{ github.ref }}
100-
commit_tag: Todo-Dev-Charts-V-${{ steps.tag.outputs.VERSION }}
101-
commit_message: "Frontend update: Tag '${{ steps.tag.outputs.VERSION }}' added"
100+
commit_tag: Todo-Dev-Charts-V-${{ env.VERSION }}
101+
commit_message: "Frontend update: Tag '${{ env.VERSION }}' added"
102102

103103
# - name: 'Updating Helm Charts values on branch main'
104104
# if: ${{ github.ref == 'refs/heads/main' }}

0 commit comments

Comments
 (0)