Update pipeline.yml

This commit is contained in:
Florian Kaiser 2022-03-25 11:37:56 +01:00 committed by GitHub
parent 1ee0d8fdf8
commit 736f895542
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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