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