custom_drone_cache/.drone.yml

27 lines
570 B
YAML

kind: pipeline
type: docker
name: default
platform:
os: linux
arch: arm64
steps:
- name: build
image: golang:1.14.4-alpine3.12
commands:
- apk add git
- sh build.sh
- name: docker
image: plugins/docker
settings:
username:
from_secret: DOCKER_REGISTRY_USERNAME
password:
from_secret: DOCKER_REGISTRY_PASSWORD
repo: docker.bics.ga/reivilibre/custom_drone_cache
registry: docker.bics.ga
dockerfile: drone-cache/Dockerfile
tags: # TODO add more tags if we need them.
- latest