File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,21 @@ jobs:
25
25
run : |
26
26
bash ./dhis-2/build-dev.sh
27
27
28
+ - name : Set up Docker Buildx
29
+ uses : docker/setup-buildx-action@v1
30
+ - name : Build test image
31
+ uses : docker/build-push-action@v2
32
+ with :
33
+ context : dhis-2/dhis-e2e-test
34
+ push : false
35
+ load : true # https://github.com/docker/build-push-action/blob/5e11b373bfed0d8024ef33d1586c675819690e95/docs/advanced/export-docker.md
36
+ tags : ${{ env.TEST_IMAGE_NAME }}
37
+ cache-from : type=gha
38
+ cache-to : type=gha,mode=max
28
39
- name : Run tests
29
40
run : |
30
41
cd dhis-2/dhis-e2e-test
31
42
IMAGE_NAME=$CORE_IMAGE_NAME docker-compose up -d
32
- docker build -t $TEST_IMAGE_NAME .
33
43
IMAGE_NAME=$TEST_IMAGE_NAME docker-compose -f docker-compose.e2e.yml up --exit-code-from e2e-test
34
44
35
45
- name : Upload logs
You can’t perform that action at this time.
0 commit comments