Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit 247a4ed

Browse files
author
Noah Hanjun Lee
authored
Fix the image pull policy Always when deploy (#140)
1 parent 9c01912 commit 247a4ed

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: .github/workflows/deploy-to-cloud.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ jobs:
5757
--namespace=gitploy
5858
-f .github/values.yaml
5959
--set=image.tag=${GITHUB_REF#refs/tags/v}
60-
--description="Upgrade to ${GITHUB_REF#refs/tags/v}"
60+
--set=image.pullPolicy=Always
61+
--description="Upgrade to ${GITHUB_REF#refs/tags/}"
6162
kubeconfig: '${{ secrets.KUBECONFIG }}'
6263
-
6364
name: Deploy successfully
@@ -113,6 +114,7 @@ jobs:
113114
--namespace=gitploy
114115
-f .github/values.yaml
115116
--set=image.tag=${GITHUB_REF#refs/tags/v}
117+
--set=image.pullPolicy=Always
116118
--description="Upgrade to ${GITHUB_REF#refs/tags/}"
117119
kubeconfig: '${{ secrets.KUBECONFIG }}'
118120
-
@@ -133,4 +135,4 @@ jobs:
133135
description: Failed to deploy.
134136
state: "failure"
135137
token: "${{ github.token }}"
136-
138+

0 commit comments

Comments
 (0)