15 lines
501 B
YAML
15 lines
501 B
YAML
steps:
|
|
- name: login
|
|
image: plugins/docker
|
|
commands:
|
|
- docker login docker.io -u $${DOCKERHUB_USERNAME} -p $${DOCKERHUB_PASSWORD}
|
|
secrets: [ dockerhub_username, dockerhub_password ]
|
|
- name: publish
|
|
image: plugins/docker
|
|
settings:
|
|
repo: franc00018/point-median-backend
|
|
registry: https://index.docker.io/v1/
|
|
tags: latest
|
|
username: $${DOCKERHUB_USERNAME}
|
|
password: $${DOCKERHUB_PASSWORD}
|
|
secrets: [ dockerhub_username, dockerhub_password ]
|