This commit is contained in:
parent
5f62fdef66
commit
2cc038968f
38
.drone.yml
38
.drone.yml
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: linux-arm64
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
@ -15,9 +15,41 @@ steps:
|
|||||||
- go generate -v
|
- go generate -v
|
||||||
- go get -v -d
|
- go get -v -d
|
||||||
- go build -v -o youp0m
|
- go build -v -o youp0m
|
||||||
- wget -O Dockerfile https://ouaset.masr.nemunai.re/local/Dockerfile-youp0m
|
- wget -O Dockerfile https://ankh.serekh.nemunai.re/local/Dockerfile-youp0m
|
||||||
|
- wget -O entrypoint.sh https://ankh.serekh.nemunai.re/local/entrypoint.sh-youp0m && chmod +x entrypoint.sh
|
||||||
|
|
||||||
- name: docker
|
- name: publish
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: nemunaire/youp0m
|
||||||
|
auto_tag: true
|
||||||
|
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: linux-arm
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: arm
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: golang:alpine
|
||||||
|
commands:
|
||||||
|
- apk --no-cache add git go-bindata
|
||||||
|
- go generate -v
|
||||||
|
- go get -v -d
|
||||||
|
- go build -v -o youp0m
|
||||||
|
- wget -O Dockerfile https://ankh.serekh.nemunai.re/local/Dockerfile-youp0m
|
||||||
|
- wget -O entrypoint.sh https://ankh.serekh.nemunai.re/local/entrypoint.sh-youp0m && chmod +x entrypoint.sh
|
||||||
|
|
||||||
|
- name: publish
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: nemunaire/youp0m
|
repo: nemunaire/youp0m
|
||||||
|
Loading…
Reference in New Issue
Block a user