Fix Helm validation in containerized Actions runner
Publish PHP Apache image / Build, test and push (push) Failing after 1m10s
Publish PHP Apache image / Build, test and push (push) Failing after 1m10s
This commit is contained in:
1 parent
b116ce8b80
commit
5e5cb9bb0d
1 file changed
+8
-15
@@ -20,19 +20,16 @@ jobs:
|
|||||||
- name: Check out source
|
- name: Check out source
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up Helm
|
||||||
|
uses: azure/setup-helm@v4
|
||||||
|
with:
|
||||||
|
version: v4.2.2
|
||||||
|
|
||||||
- name: Validate Helm chart
|
- name: Validate Helm chart
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
docker run --rm \
|
helm lint helm/php-homepage
|
||||||
--volume "${PWD}:/source" \
|
helm template ci-test helm/php-homepage > /dev/null
|
||||||
--workdir /source \
|
|
||||||
alpine/helm:4.2.2@sha256:ee6fe3e96d9f8ea8dd1af9ecd7bbb3e233616a25f145392376f020fd2a51eb33 \
|
|
||||||
lint helm/php-homepage
|
|
||||||
docker run --rm \
|
|
||||||
--volume "${PWD}:/source" \
|
|
||||||
--workdir /source \
|
|
||||||
alpine/helm:4.2.2@sha256:ee6fe3e96d9f8ea8dd1af9ecd7bbb3e233616a25f145392376f020fd2a51eb33 \
|
|
||||||
template ci-test helm/php-homepage > /dev/null
|
|
||||||
|
|
||||||
- name: Log in to Quay
|
- name: Log in to Quay
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
@@ -133,11 +130,7 @@ jobs:
|
|||||||
test -n "${PACKAGE_USERNAME}"
|
test -n "${PACKAGE_USERNAME}"
|
||||||
test -n "${PACKAGE_TOKEN}"
|
test -n "${PACKAGE_TOKEN}"
|
||||||
install -d .chart-packages
|
install -d .chart-packages
|
||||||
docker run --rm \
|
helm package helm/php-homepage \
|
||||||
--volume "${PWD}:/source" \
|
|
||||||
--workdir /source \
|
|
||||||
alpine/helm:4.2.2@sha256:ee6fe3e96d9f8ea8dd1af9ecd7bbb3e233616a25f145392376f020fd2a51eb33 \
|
|
||||||
package helm/php-homepage \
|
|
||||||
--destination .chart-packages \
|
--destination .chart-packages \
|
||||||
--version "${CHART_VERSION}" \
|
--version "${CHART_VERSION}" \
|
||||||
--app-version "${BUILD_TAG}"
|
--app-version "${BUILD_TAG}"
|
||||||
|
|||||||
Reference in new issue
Block a user