根据这个bug drone docker plugin question..。
根据documentation..。
context参数就是不起作用。我一直在日志中收到file not found错误。
如何在drone-docker和drone-gcr插件中设置上下文?
name: publish
image: plugins/gcr
settings:
context: subdirectory
registry: registry.dev
repo: repoName
tag: latest我也试过
name: publish
image: plugins/gcr
settings:
file: Dockerfile
context: subdirectory
registry: registry.dev
repo: repoName
tag: latest发布于 2020-10-07 05:11:18
您还必须设置dockerfile标志:
name: publish
image: plugins/gcr
settings:
dockerfile: subdirectory/Dockerfile
context: subdirectory
registry: registry.dev
repo: repoName
tag: latesthttps://stackoverflow.com/questions/64233848
复制相似问题