Skip to content

Commit be4f111

Browse files
add part for removing unused iamges
1 parent 49e5df7 commit be4f111

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/devfile-acceptanse-test.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ on:
2020
- '.rebase/*'
2121

2222
env:
23-
USERSTORY: CloneGitRepoAPI
2423
TS_API_TEST_KUBERNETES_COMMAND_LINE_TOOL: kubectl
2524
DEPLOYMENT_TIMEOUT: 90s
2625
PULL_POLICY: IfNotPresent
@@ -41,6 +40,10 @@ jobs:
4140
echo "PR_NUMBER=$pr_number" >> $GITHUB_ENV
4241
echo ">>>>>>>>>>>>$pr_number"
4342
43+
- name: prune unused images
44+
run: |
45+
docker rmi -f $(docker images -aq)
46+
4447
- name: Start minikube cluster
4548
id: run-minikube
4649
uses: che-incubator/setup-minikube-action@next
@@ -67,7 +70,7 @@ jobs:
6770
# load Che-Code image into minikube
6871
#
6972
minikube image load quay.io/che-incubator/che-code:next
70-
minikube image list
73+
minikube image list --format table
7174
7275
# get patch file to set up resources
7376
wget https://raw.githubusercontent.com/che-incubator/che-code/main/build/test/github-minikube-checluster-patch.yaml -P /tmp

0 commit comments

Comments
 (0)