Skip to content
Permalink
docker-example
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
kind: pipeline
type: docker
name: default
steps:
- name: generate
image: alpine
pull: if-not-exists
commands:
- echo PLUGIN_REPO=foo/bar > inputs.txt
- cat inputs.txt
- name: build
image: plugins/docker
pull: if-not-exists
settings:
dry_run: true
env_file: inputs.txt
tags:
- latest
- ${DRONE_BRANCH}