@@ -44,12 +44,10 @@ jobs:
44
44
run : echo ${{ secrets.GITHUB_TOKEN }} | docker login docker.pkg.github.com -u $GITHUB_ACTOR --password-stdin
45
45
- name : Install dependencies
46
46
run : sudo apt-get install -y wait-for-it
47
+
48
+ # Run tests and builds image
47
49
- name : Run tests - latest njs version
48
50
run : ./test.sh --latest-njs --type oss
49
- - name : Run tests - stable njs version
50
- run : ./test.sh --type oss
51
- - name : Run tests - stable njs version - unprivileged process
52
- run : ./test.sh --unprivileged --type oss
53
51
# latest-njs-oss image push [Github]
54
52
- name : Tag container image for Push to github [latest-njs-oss date]
55
53
run : docker tag nginx-s3-gateway:latest-njs-oss docker.pkg.github.com/$GITHUB_REPOSITORY/nginx-oss-s3-gateway:latest-njs-oss-${{ steps.date.outputs.date }}
59
57
run : docker push docker.pkg.github.com/$GITHUB_REPOSITORY/nginx-oss-s3-gateway:latest-njs-oss-${{ steps.date.outputs.date }}
60
58
- name : Push container image to github [latest-njs-oss]
61
59
run : docker push docker.pkg.github.com/$GITHUB_REPOSITORY/nginx-oss-s3-gateway:latest-njs-oss
60
+
61
+ # Run tests and builds image
62
+ - name : Run tests - stable njs version - unprivileged process
63
+ run : ./test.sh --unprivileged --type oss
62
64
# unprivileged-oss image push [Github]
63
65
- name : Tag container image for Push to github [unprivileged-oss date]
64
66
run : docker tag nginx-s3-gateway:unprivileged-oss docker.pkg.github.com/$GITHUB_REPOSITORY/nginx-oss-s3-gateway:unprivileged-oss-${{ steps.date.outputs.date }}
@@ -68,11 +70,15 @@ jobs:
68
70
run : docker push docker.pkg.github.com/$GITHUB_REPOSITORY/nginx-oss-s3-gateway:unprivileged-oss-${{ steps.date.outputs.date }}
69
71
- name : Push container image to github [unprivileged-oss]
70
72
run : docker push docker.pkg.github.com/$GITHUB_REPOSITORY/nginx-oss-s3-gateway:unprivileged-oss
73
+
74
+ # Run tests and builds image
75
+ - name : Run tests - stable njs version
76
+ run : ./test.sh --type oss
71
77
# oss image push [Github]
72
78
- name : Tag container image for Push to github [oss date]
73
- run : docker tag nginx-s3-gateway:latest docker.pkg.github.com/$GITHUB_REPOSITORY/nginx-oss-s3-gateway:latest-${{ steps.date.outputs.date }}
79
+ run : docker tag nginx-s3-gateway:oss docker.pkg.github.com/$GITHUB_REPOSITORY/nginx-oss-s3-gateway:latest-${{ steps.date.outputs.date }}
74
80
- name : Tag container image for Push to github [oss]
75
- run : docker tag nginx-s3-gateway:latest docker.pkg.github.com/$GITHUB_REPOSITORY/nginx-oss-s3-gateway:latest
81
+ run : docker tag nginx-s3-gateway:oss docker.pkg.github.com/$GITHUB_REPOSITORY/nginx-oss-s3-gateway:latest
76
82
- name : Push container image to github [oss date]
77
83
run : docker push docker.pkg.github.com/$GITHUB_REPOSITORY/nginx-oss-s3-gateway:latest-${{ steps.date.outputs.date }}
78
84
- name : Push container image to github [oss latest]
0 commit comments