Hi all,
I was trying to build and deploy a docker images and noticed the cloud instance is more limited.
How would one publish docker images using the cloud instance. Is that possible?
This is my current config:
kind: pipeline
name: default
steps:
- name: test
image: docker/compose
volumes:
- name: docker_socket
path: /var/run/docker.sock
commands:
- ln -s env.template .env
- docker-compose -f production.yml build
- echo "$DOCKER_PASS" | docker login --username $DOCKER_USER --password-stdin
- docker-compose push
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock