File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
publish-chartpress-images Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -29,3 +29,7 @@ You can set these environment variables:
29
29
| DOCKER_USERNAME | None | Yes |
30
30
| IMAGE_PREFIX | None | No |
31
31
| CHARTPRESS_SPEC_DIR | . | No |
32
+ | PUSH_LATEST | None | No |
33
+
34
+ Note: setting the ` PUSH_LATEST` variable to any non-zero value will trigger the publishing of
35
+ the images with the `latest` tag.
Original file line number Diff line number Diff line change @@ -21,3 +21,8 @@ git config --global --add safe.directory $PWD
21
21
# build and push the chart and images
22
22
cd $CHARTPRESS_SPEC_DIR
23
23
chartpress --push $CHART_TAG $IMAGE_PREFIX
24
+
25
+ if [ ! -z " $PUSH_LATEST " ]; then
26
+ echo " Pushing images with 'latest' tags"
27
+ chartpress --push --tag latest $IMAGE_PREFIX
28
+ fi
You can’t perform that action at this time.
0 commit comments