A concourse resource to deploy a dockerhub docker image on a machine via ssh.
564
A concourse resource to deploy a dockerhub docker image on a machine via ssh.
To use this resource, you will provide the following dockerhub information in the pipeline,
Then define the machine where you want and what dockerhub image to deploy,
The resource is,
resource_types:
- name: deploy-docker
type: docker-image
source:
repository: jeffdecola/concourse-deploy-docker-resource
tag: latest
resources:
- name: test-resource-deploy-docker
type: deploy-docker
icon: docker
source:
username: jeffdecola
password: ((dockerhub_password))
And to use as a put,
- put: test-resource-deploy-docker
params:
DOCKER_HOST_IP: '192.168.20.124'
DOCKER_HOST_PORT: '22'
DOCKER_HOST_USER: 'jeffdecola'
DOCKER_HOST_RUN_PRIVILEGED_MODE: 'true'
DOCKER_HOST_SSH_PRIVATE_KEY_FILE: {{jeffs_mbp_docker_host_ssh_private_key}}
DOCKER_IMAGE_TO_DEPLOY: 'jeffdecola/crypto-miner-manager'
Content type
Image
Digest
sha256:ee14b871e…
Size
13.4 MB
Last updated
over 3 years ago
docker pull jeffdecola/concourse-deploy-docker-resource