Browse Source

project: add cicd3

Yi 1 year ago
parent
commit
43e9198e85
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Dockerfile

+ 3 - 0
Dockerfile

@@ -6,6 +6,9 @@ owner="yiping.xu"
 
 WORKDIR /bin
 
+RUN ls -l && \
+    pwd
+
 RUN rm -rf /drone/src/kpt-tmr-group/bin && \
     mkdir -p /drone/src/kpt-tmr-group/bin && \
     GOARCH=amd64 GOOS=linux CGO_ENABLED=0 go build -o /drone/src/kpt-tmr-group/bin/kptTmrGroup -ldflags "-X kpt.kptyun.cn:3000/kpt-event/kpt-tmr-group/pod.appVersion=${version}" main.go