Skip to content

Commit 0e08f47

Browse files
committed
workflow: Always test chart install with latest image.
1 parent 5b23f35 commit 0e08f47

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/dockerfile.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,35 +105,30 @@ jobs:
105105
--lint-conf lintconf.yaml
106106
107107
- name: Create kind cluster
108-
if: steps.list-changed.outputs.changed == 'true'
109108
uses: helm/kind-action@v1
110109

111110
- name: Log in to GHCR
112-
if: steps.list-changed.outputs.changed == 'true'
113111
uses: docker/login-action@v3
114112
with:
115113
registry: ghcr.io
116114
username: ${{ github.actor }}
117115
password: ${{ secrets.GITHUB_TOKEN }}
118116

119117
- name: Load image into kind
120-
if: steps.list-changed.outputs.changed == 'true'
121118
run: |
122119
docker pull ghcr.io/${{ github.repository }}:pr-${{ github.event.pull_request.number }}
123120
kind load docker-image ghcr.io/${{ github.repository }}:pr-${{ github.event.pull_request.number }} --name chart-testing
124121
125122
- name: Run chart-testing (install)
126123
id: chart-testing-install
127-
if: steps.list-changed.outputs.changed == 'true'
128124
run: |
129125
ct install --github-groups \
130126
--chart-dirs kubernetes/chart \
131-
--target-branch ${{ github.event.repository.default_branch }} \
132127
--helm-extra-set-args "--set image.tag=pr-${{ github.event.pull_request.number }}" \
133128
--skip-clean-up
134129
135130
- name: Fetch logs
136-
if: steps.list-changed.outputs.changed == 'true' && ( success() || failure() )
131+
if: success() || failure()
137132
continue-on-error: true
138133
run: |
139134
namespace=$(helm list --all-namespaces --output json \

0 commit comments

Comments
 (0)