diff --git a/.github/workflows/set-appversion.yml b/.github/workflows/set-appversion.yml index 593eb81..e12fe3d 100644 --- a/.github/workflows/set-appversion.yml +++ b/.github/workflows/set-appversion.yml @@ -21,11 +21,11 @@ jobs: - name: Find image version run: | - wget https://github.com/mikefarah/yq/releases/download/v4.44.2/yq_linux_amd64.tar.gz -O - |\ - tar xz && mv yq_linux_amd64 yq - chmod +x yq - export VERSION=$(./yq '.librenms.image.tag' charts/librenms/values.yaml) - ./yq -e -i '.appVersion = $VERSION' charts/librenms/Chart.yaml + wget https://github.com/mikefarah/yq/releases/download/v4.44.2/yq_linux_amd64.tar.gz -o /tmp/yq.tgz + tar -xvf /tmp/yq.tgz + chmod +x /tmp/yq_linux_amd64 + export VERSION=$(/tmp/yq_linux_amd64 '.librenms.image.tag' charts/librenms/values.yaml) + /tmp/yq_linux_amd64 -e -i '.appVersion = $VERSION' charts/librenms/Chart.yaml rm yq