File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 # export docker images to be used in next jobs below
5050 - name : Upload image ${{ matrix.docker-image }} as artifact
5151 timeout-minutes : 10
52- uses : actions/upload-artifact@v3
52+ uses : actions/upload-artifact@v4
5353 with :
54- name : ${{ matrix.docker-image }}
54+ name : built-docker-image- ${{ matrix.docker-image }}-${{ matrix.os }}
5555 path : ${{ matrix.docker-image }}-${{ matrix.os }}_img
5656 retention-days : 1
Original file line number Diff line number Diff line change 5151 run : docker compose down
5252
5353 - name : Upload oas.${{ matrix.file-type }} as artifact
54- uses : actions/upload-artifact@v3
54+ uses : actions/upload-artifact@v4
5555 with :
5656 name : oas-${{ matrix.file-type }}
5757 path : oas.${{ matrix.file-type }}
Original file line number Diff line number Diff line change @@ -45,14 +45,18 @@ jobs:
4545
4646 # load docker images from build jobs
4747 - name : Load images from artifacts
48- uses : actions/download-artifact@v3
48+ uses : actions/download-artifact@v4
49+ with :
50+ path : built-docker-image
51+ pattern : built-docker-image-*
52+ merge-multiple : true
4953
5054 - name : Load docker images
5155 timeout-minutes : 10
5256 run : |-
53- docker load -i nginx /nginx-${{ matrix.os }}_img
54- docker load -i django /django-${{ matrix.os }}_img
55- docker load -i integration-tests /integration-tests-debian_img
57+ docker load -i built-docker-image /nginx-${{ matrix.os }}_img
58+ docker load -i built-docker-image /django-${{ matrix.os }}_img
59+ docker load -i built-docker-image /integration-tests-debian_img
5660 docker images
5761
5862 - name : Set integration-test mode
Original file line number Diff line number Diff line change @@ -48,14 +48,18 @@ jobs:
4848 minikube status
4949
5050 - name : Load images from artifacts
51- uses : actions/download-artifact@v3
51+ uses : actions/download-artifact@v4
52+ with :
53+ path : built-docker-image
54+ pattern : built-docker-image-*
55+ merge-multiple : true
5256
5357 - name : Load docker images
5458 timeout-minutes : 10
5559 run : |-
5660 eval $(minikube docker-env)
57- docker load -i nginx /nginx-${{ matrix.os }}_img
58- docker load -i django /django-${{ matrix.os }}_img
61+ docker load -i built-docker-image /nginx-${{ matrix.os }}_img
62+ docker load -i built-docker-image /django-${{ matrix.os }}_img
5963 docker images
6064
6165 - name : Configure HELM repos
Original file line number Diff line number Diff line change 4747 runs-on : ubuntu-latest
4848 steps :
4949 - name : Load OAS files from artifacts
50- uses : actions/download-artifact@v3
50+ uses : actions/download-artifact@v4
5151
5252 - name : Upload Release Asset - OpenAPI Specification - YAML
5353 id : upload-release-asset-yaml
Original file line number Diff line number Diff line change @@ -20,13 +20,17 @@ jobs:
2020
2121 # load docker images from build jobs
2222 - name : Load images from artifacts
23- uses : actions/download-artifact@v3
23+ uses : actions/download-artifact@v4
24+ with :
25+ path : built-docker-image
26+ pattern : built-docker-image-*
27+ merge-multiple : true
2428
2529 - name : Load docker images
2630 timeout-minutes : 10
2731 run : |-
28- docker load -i nginx /nginx-${{ matrix.os }}_img
29- docker load -i django /django-${{ matrix.os }}_img
32+ docker load -i built-docker-image /nginx-${{ matrix.os }}_img
33+ docker load -i built-docker-image /django-${{ matrix.os }}_img
3034 docker images
3135
3236 # run tests with docker compose
You can’t perform that action at this time.
0 commit comments