Skip to content

Commit

Permalink
Merge pull request #26 from vivid-planet/image-versioning
Browse files Browse the repository at this point in the history
Use appVersion from chart.yaml for tagging the built image
  • Loading branch information
dkarnutsch authored Nov 28, 2023
2 parents 7723b40 + 79959a5 commit 20cb239
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
env:
IMAGE_NAME: "vividplanet/swr-cache-proxy"
TAGS: "v1"
TAGS: $(yq e '.appVersion' charts/swr-cache-proxy/Chart.yaml)
steps:
- run: echo "${{ github.actor }}"

Expand Down
2 changes: 0 additions & 2 deletions charts/swr-cache-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ replicaCount: 2
image:
repository: vividplanet/swr-cache-proxy
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "v1" # TODO use appVersion

imagePullSecrets: []
nameOverride: ""
Expand Down

0 comments on commit 20cb239

Please sign in to comment.