Skip to content

Commit

Permalink
removed v from version
Browse files Browse the repository at this point in the history
  • Loading branch information
garethahealy committed Dec 12, 2023
1 parent 0b3b963 commit 1c5a802
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tekton-task-images-helm-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Convert VERSION to version.json
run: |
version=$(sed -n '2p' ${{ env.context }}/VERSION | cut -d"=" -f2)
jq -c --null-input --arg version "v$version" '{ "version": $version }' > ${{ env.context }}/version.json
jq -c --null-input --arg version "$version" '{ "version": $version }' > ${{ env.context }}/version.json
- name: Check and verify version.json
id: check_version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tekton-task-images-helm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Convert VERSION to version.json
run: |
version=$(sed -n '2p' ${{ env.context }}/VERSION | cut -d"=" -f2)
jq -c --null-input --arg version "v$version" '{ "version": $version }' > ${{ env.context }}/version.json
jq -c --null-input --arg version "$version" '{ "version": $version }' > ${{ env.context }}/version.json
- name: Get image tags
id: image_tags
Expand Down
2 changes: 1 addition & 1 deletion tekton-task-images/helm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN microdnf install -y --nodocs openssl tar git findutils gzip && \
ADD VERSION /tmp/version
# helm
RUN source /tmp/version && \
curl -sL https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz | \
curl -sL https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz | \
tar zxf - -C /usr/local/bin --strip-components 1 linux-amd64/helm && \
echo "⚓️⚓️⚓️⚓️⚓️"

Expand Down

0 comments on commit 1c5a802

Please sign in to comment.