This repository was archived by the owner on Jul 21, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 63
63
java-version : ' 17'
64
64
cache : ' gradle'
65
65
- name : Run build with Gradle Wrapper
66
- run : chmod +x ./gradlew;./gradlew :bootBuildImage --publishImage=true
66
+ run : chmod +x ./gradlew;./gradlew :bootBuildImage
67
+ -
68
+ name : Login to Docker Hub
69
+ uses : docker/login-action@v2
70
+ with :
71
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
72
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
73
+ - name : Push to Docker Hub
74
+ run : docker push eritpchy/webdav-aliyundriver:latest
75
+ - name : Push to Docker Hub
76
+ run : docker push eritpchy/webdav-aliyundriver:2.4.0-${{ steps.date.outputs.today }}
77
+
78
+
Original file line number Diff line number Diff line change @@ -48,11 +48,4 @@ bootBuildImage {
48
48
' BP_NATIVE_IMAGE_BUILD_ARGUMENTS' : ' -H:+AddAllCharsets --enable-url-protocols=http,https'
49
49
]
50
50
tags = [" eritpchy/webdav-aliyundriver:latest" , " eritpchy/webdav-aliyundriver:${ version} -${ new Date().format('yyyyMMdd')} " ]
51
-
52
- docker {
53
- publishRegistry {
54
- username = " $System . env . DOCKERHUB_USERNAME "
55
- password = " $System . env . DOCKERHUB_TOKEN "
56
- }
57
- }
58
51
}
You can’t perform that action at this time.
0 commit comments