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