Skip to content

A Drone CI plugin to upload Docker image builded with nix-build to Docker Hub

License

Notifications You must be signed in to change notification settings

Pr0Ger/drone-crane

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drone-crane

Build Status Docker Image Size Docker Pulls

This is a simple Drone plugin to upload Docker image builded with nix-build to Docker Hub.

Usage

steps:
...
- name: publish
  image: pr0ger/drone-crane
  settings:
    username: pr0ger
    password:
      from_secret: docker_password
    repo: pr0ger/drone-convert-dhall
    tag: latest
  volumes:
  - name: nix
    path: /nix
docker run --rm \
  -e PLUGIN_USERNAME=pr0ger \
  -e PLUGIN_PASSWORD="I'm not gonna tell you my password" \
  -e PLUGIN_REPO="pr0ger/drone-crane" \
  -e PLUGIN_TAG=latest \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  pr0ger/drone-crane

About

A Drone CI plugin to upload Docker image builded with nix-build to Docker Hub

Topics

Resources

License

Stars

Watchers

Forks