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:
@@ -20,19 +20,16 @@ jobs:
|
||||
- name: Check out source
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Helm
|
||||
uses: azure/setup-helm@v4
|
||||
with:
|
||||
version: v4.2.2
|
||||
|
||||
- name: Validate Helm chart
|
||||
run: |
|
||||
set -euo pipefail
|
||||
docker run --rm \
|
||||
--volume "${PWD}:/source" \
|
||||
--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
|
||||
helm lint helm/php-homepage
|
||||
helm template ci-test helm/php-homepage > /dev/null
|
||||
|
||||
- name: Log in to Quay
|
||||
uses: docker/login-action@v3
|
||||
@@ -133,11 +130,7 @@ jobs:
|
||||
test -n "${PACKAGE_USERNAME}"
|
||||
test -n "${PACKAGE_TOKEN}"
|
||||
install -d .chart-packages
|
||||
docker run --rm \
|
||||
--volume "${PWD}:/source" \
|
||||
--workdir /source \
|
||||
alpine/helm:4.2.2@sha256:ee6fe3e96d9f8ea8dd1af9ecd7bbb3e233616a25f145392376f020fd2a51eb33 \
|
||||
package helm/php-homepage \
|
||||
helm package helm/php-homepage \
|
||||
--destination .chart-packages \
|
||||
--version "${CHART_VERSION}" \
|
||||
--app-version "${BUILD_TAG}"
|
||||
|
||||
Reference in New Issue
Block a user