You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
602 B
602 B
Build Docker Image
kind: pipeline
type: docker
name: build
steps:
- name: build
image: plugins/docker
settings:
registry: registry.gitlab.com
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: registry.gitlab.com/USER/REPO/${DRONE_COMMIT_BRANCH}
tags:
- latest
- ${DRONE_COMMIT_SHA}
cache_from:
- registry.gitlab.com/USER/REPO/${DRONE_COMMIT_BRANCH}:latest
*Replace USER
and REPO
by your values