@@ -27,11 +27,11 @@ jobs:
2727 # are tested (https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html#available-versions)
2828 - databases : pgsql
2929 brokers : redis
30- k8s : ' v1.30.3 '
30+ k8s : ' v1.33.4 '
3131 os : debian
3232 steps :
3333 - name : Checkout
34- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
34+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3535
3636 - name : Setup Minikube
3737 uses : manusa/actions-setup-minikube@b589f2d61bf96695c546929c72b38563e856059d # v2.14.0
4747 minikube status
4848
4949 - name : Load images from artifacts
50- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3 .0
50+ uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0 .0
5151 with :
5252 path : built-docker-image
5353 pattern : built-docker-image-*
@@ -57,13 +57,14 @@ jobs:
5757 timeout-minutes : 15
5858 run : |-
5959 eval $(minikube docker-env)
60- docker load -i built-docker-image/nginx-${{ matrix.os }} -linux-amd64_img
60+ docker load -i built-docker-image/nginx-alpine -linux-amd64_img
6161 docker load -i built-docker-image/django-${{ matrix.os }}-linux-amd64_img
62+ docker tag defectdojo/defectdojo-nginx:alpine defectdojo/defectdojo-nginx:latest
63+ docker tag defectdojo/defectdojo-django:${{ matrix.os }} defectdojo/defectdojo-django:latest
6264 docker images
6365
6466 - name : Configure HELM repos
6567 run : |-
66- helm repo add bitnami https://charts.bitnami.com/bitnami
6768 helm dependency list ./helm/defectdojo
6869 helm dependency update ./helm/defectdojo
6970
8788 --set initializer.keepSeconds="-1" \
8889 ${{ env[matrix.databases] }} \
8990 ${{ env[matrix.brokers] }} \
90- --set createSecret=true \
91- --set tag=${{ matrix.os }}
91+ --set createSecret=true
9292
9393 - name : Check deployment status
9494 if : always()
@@ -125,7 +125,7 @@ jobs:
125125 while :
126126 do
127127 DJANGO_IP=$(kubectl get svc defectdojo-django -o jsonpath='{.spec.clusterIP}')
128- OUT=$(kubectl run curl --quiet=true --image=curlimages/curl:7.73 .0 \
128+ OUT=$(kubectl run curl --quiet=true --image=curlimages/curl:8.15 .0 \
129129 --overrides='{ "apiVersion": "v1" }' \
130130 --restart=Never -i --rm -- \
131131 --silent \
@@ -156,7 +156,7 @@ jobs:
156156 ADMIN_PASS=$(kubectl get secret/defectdojo -o jsonpath='{.data.DD_ADMIN_PASSWORD}' | base64 -d)
157157 echo "Simple API check"
158158 DJANGO_IP=$(kubectl get svc defectdojo-django -o jsonpath='{.spec.clusterIP}')
159- CR=$(kubectl run curl --quiet=true --image=curlimages/curl:7.73 .0 \
159+ CR=$(kubectl run curl --quiet=true --image=curlimages/curl:8.15 .0 \
160160 --overrides='{ "apiVersion": "v1" }' \
161161 --restart=Never -i --rm -- \
162162 --silent \
0 commit comments