Update pipeline.yml
This commit is contained in:
parent
1ee0d8fdf8
commit
736f895542
@ -1,22 +1,22 @@
|
|||||||
pipeline:
|
pipeline:
|
||||||
generate_tag:
|
# generate_tag:
|
||||||
image: golang
|
# image: golang
|
||||||
commands:
|
# commands:
|
||||||
- echo -n "${DRONE_BRANCH//\//-}-${DRONE_COMMIT_SHA:0:8}, latest" > .tags
|
# - echo -n "${DRONE_BRANCH//\//-}-${DRONE_COMMIT_SHA:0:8}, latest" > .tags
|
||||||
- ls api/
|
# - ls api/
|
||||||
|
|
||||||
publish_api:
|
publish_api:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
username:
|
- username:
|
||||||
from_secret: username
|
from_secret: username
|
||||||
password:
|
- password:
|
||||||
from_secret: password
|
from_secret: password
|
||||||
registry:
|
- registry:
|
||||||
from_secret: registry
|
from_secret: registry
|
||||||
repo:
|
- repo:
|
||||||
from_secret: repo_api
|
from_secret: repo_api
|
||||||
dockerfile: api/Dockerfile
|
- dockerfile: api/Dockerfile
|
||||||
|
|
||||||
# publish_frontend:
|
# publish_frontend:
|
||||||
# image: plugins/docker
|
# image: plugins/docker
|
||||||
|
Loading…
Reference in New Issue
Block a user