This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
2020-11-19 00:00:29 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: golang:alpine
|
|
|
|
commands:
|
2022-02-19 14:51:44 +00:00
|
|
|
- apk add --no-cache build-base
|
|
|
|
- go vet
|
|
|
|
- go build -v -ldflags="-s -w" -o chunkvalidator
|
2020-11-19 00:00:29 +00:00
|
|
|
|
|
|
|
- name: docker
|
2023-05-02 09:18:39 +00:00
|
|
|
image: plugins/docker:linux-arm
|
2020-11-19 00:00:29 +00:00
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
repo: nemunaire/chunkvalidator
|
|
|
|
tags: latest
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|