drone
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2023-04-01 14:52:07 +08:00
parent 31c2b4b7a2
commit 84428dc98d
2 changed files with 16 additions and 4 deletions

View File

@@ -3,8 +3,14 @@ type: docker
name: default name: default
steps: steps:
- name: greeting - name: build
image: alpine image: golang
commands: commands:
- echo hello - go build
- echo world
- name: push
image: plugins/go
settings:
username: ymzfb@readmarathon.com
password: 4&f_9DawwYKzT6?i
repo: registry.cn-shanghai.aliyuncs.com/readmarathon/hello-project

6
Dockerfile Normal file
View File

@@ -0,0 +1,6 @@
FROM alpine
WORKDIR /app
COPY hello-project .
ENTRYPOINT ['./hello-project']