-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit ad278ae Merge: 1b616ee ba8fb1d Author: LiDong <[email protected]> Date: Tue Aug 9 13:51:17 2022 +0800 Merge branch 'dev' of github.com:hjmcloud/hjm-certcheck into dev commit 1b616ee Author: LiDong <[email protected]> Date: Tue Aug 9 13:51:10 2022 +0800 add docker publish task commit ba8fb1d Author: 李栋 <[email protected]> Date: Mon Aug 8 19:43:43 2022 +0800 fix homepage commit afd9430 Merge: 01a53b2 6852109 Author: 李栋 <[email protected]> Date: Mon Aug 8 19:29:32 2022 +0800 Merge branch 'master' into dev commit 01a53b2 Author: 李栋 <[email protected]> Date: Mon Aug 8 19:24:11 2022 +0800 change build auto tag commit 2526f73 Author: LiDong <[email protected]> Date: Mon Aug 8 17:31:39 2022 +0800 default version set to development commit d423ba6 Author: LiDong <[email protected]> Date: Mon Aug 8 16:47:06 2022 +0800 change README
- Loading branch information
Showing
3 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM golang AS download | ||
WORKDIR /tmp | ||
RUN curl -L -o hjm-certcheck https://github.com/hjmcloud/hjm-certcheck/releases/latest/download/hjm-certcheck_linux_$(go env GOARCH) | ||
|
||
FROM alpine | ||
ENV WORKDIR /app | ||
ADD resource $WORKDIR/ | ||
# ADD ./temp/linux_amd64/main $WORKDIR/main | ||
COPY --from=download /tmp/hjm-certcheck $WORKDIR/hjm-certcheck | ||
RUN chmod +x $WORKDIR/hjm-certcheck | ||
|
||
############################################################################### | ||
# START | ||
############################################################################### | ||
WORKDIR $WORKDIR | ||
CMD ./hjm-certcheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters