test build
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-09-13 00:48:29 +07:00
parent d8fffdfeda
commit 3c5d1dbfd5
3 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ steps:
settings:
envs: [ TELEGRAM_TOKEN,POSTGRES_URL_CONNECT ]
commands:
- GOOS=linux GOARCH=amd64 go build -o butler cmd/butler/main.go
- go build -o butler cmd/butler/main.go
- touch .env
- echo TELEGRAM_TOKEN=$${TELEGRAM_TOKEN} >> .env
- echo POSTGRES_URL_CONNECT=$${POSTGRES_URL_CONNECT} >> .env
+2 -2
View File
@@ -1,4 +1,4 @@
FROM scratch
COPY butler /
COPY .env /
ADD butler /
ADD .env /
CMD [ "/butler" ]