This commit is contained in:
parent
afc05c5419
commit
cf5254ad5f
1 changed files with 0 additions and 48 deletions
48
.drone.yml
48
.drone.yml
|
|
@ -92,53 +92,6 @@ steps:
|
||||||
password:
|
password:
|
||||||
from_secret: docker_nemunai.re_password
|
from_secret: docker_nemunai.re_password
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: build-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 -ldflags="-s -w" -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:linux-arm
|
|
||||||
settings:
|
|
||||||
repo: nemunaire/youp0m
|
|
||||||
auto_tag: true
|
|
||||||
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
|
||||||
experimental: true
|
|
||||||
squash: true
|
|
||||||
username:
|
|
||||||
from_secret: docker_username
|
|
||||||
password:
|
|
||||||
from_secret: docker_password
|
|
||||||
|
|
||||||
- name: publish on nemunai.re
|
|
||||||
image: plugins/docker:linux-arm
|
|
||||||
settings:
|
|
||||||
registry: registry.nemunai.re
|
|
||||||
repo: registry.nemunai.re/youp0m
|
|
||||||
auto_tag: true
|
|
||||||
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
|
||||||
experimental: true
|
|
||||||
squash: true
|
|
||||||
username:
|
|
||||||
from_secret: docker_nemunai.re_username
|
|
||||||
password:
|
|
||||||
from_secret: docker_nemunai.re_password
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: docker-manifest
|
name: docker-manifest
|
||||||
|
|
@ -173,6 +126,5 @@ trigger:
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- build-arm
|
|
||||||
- build-arm64
|
- build-arm64
|
||||||
- build-amd64
|
- build-amd64
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue