Docker image CI build #43

Merged
skobkin merged 6 commits from feature_docker_ci_build into master 2022-08-13 21:04:20 +00:00

View file

@ -3,7 +3,7 @@
kind: pipeline
type: docker
name: app-check
name: build
steps:
- name: build-deps
@ -30,3 +30,23 @@ steps:
- pull_request
branch:
exclude: master
- name: build-docker
# https://github.com/drone/drone-plugin-index/blob/main/plugins/docker/original.md
image: plugins/docker
when:
branch:
- master
event:
- push
settings:
username:
from_secret: docker_username
password:
from_secret: docker_token
repo:
from_secret: docker_repo
tags:
- latest
# https://docs.drone.io/pipeline/environment/reference/
- ${DRONE_COMMIT_SHA:0:10}
- ${DRONE_TAG}
Review

Most likely this will not work when the tag is not set. But I still want to try 😄

Most likely this will not work when the tag is not set. But I still want to try :smile: