mirror of
https://github.com/drone-plugins/drone-pypi.git
synced 2026-06-04 10:15:06 +08:00
fix dockerfile; fix cli package; fix readme
This commit is contained in:
+8
-15
@@ -1,20 +1,13 @@
|
||||
FROM alpine:3.2
|
||||
FROM alpine:3.8
|
||||
|
||||
ARG GITSHA="VCS ref not found"
|
||||
ARG BUILDDATE="Build date not found"
|
||||
LABEL org.label-schema.url="https://github.com/drone-plugins/drone-pypi" \
|
||||
org.label-schema.name="Drone-Pypi" \
|
||||
org.label-schema.license="Apache-2.0" \
|
||||
org.label-schema.vcs-url="https://github.com/drone-plugins/drone-pypi" \
|
||||
org.label-schema.schema-version="1.0" \
|
||||
org.label-schema.description="Simple Drone CI plugin written for and tested on version 0.8+ to publish pypi packages" \
|
||||
org.label-schema.vcs-ref=$GITSHA \
|
||||
org.label-schema.build-date=$BUILDDATE
|
||||
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
|
||||
org.label-schema.name="Drone Codecov" \
|
||||
org.label-schema.vendor="Drone.IO Community" \
|
||||
org.label-schema.schema-version="1.0"
|
||||
|
||||
RUN apk add -U ca-certificates python3 \
|
||||
&& rm -rf /var/cache/apk/* \
|
||||
&& pip3 install --no-cache-dir --upgrade pip \
|
||||
&& pip3 install --no-cache-dir --upgrade twine pip setuptools wheel six
|
||||
RUN apk add -U ca-certificates python3 && \
|
||||
rm -rf /var/cache/apk/* && \
|
||||
pip3 install --no-cache-dir --upgrade pip setuptools wheel six twine
|
||||
|
||||
ADD release/linux/amd64/drone-pypi /bin/
|
||||
ENTRYPOINT ["/bin/drone-pypi"]
|
||||
|
||||
@@ -24,5 +24,5 @@ docker run --rm \
|
||||
-e PLUGIN_SKIP_BUILD=false \
|
||||
-v $(pwd):$(pwd) \
|
||||
-w $(pwd) \
|
||||
plugins/drone-pypi
|
||||
plugins/pypi
|
||||
```
|
||||
|
||||
Generated
Vendored
Generated
Vendored
Generated
Vendored
Generated
Vendored
Generated
Vendored
Generated
Vendored
Generated
Vendored
Generated
Vendored
Generated
Vendored
Generated
Vendored
Generated
Vendored
Vendored
+9
-9
@@ -2,14 +2,6 @@
|
||||
"comment": "",
|
||||
"ignore": "test",
|
||||
"package": [
|
||||
{
|
||||
"checksumSHA1": "KvKeVZyH3n15SKlm6UmPwPqz0rY=",
|
||||
"path": "github.com/codegangsta/cli",
|
||||
"revision": "cfb38830724cc34fedffe9a2a29fb54fa9169cd1",
|
||||
"revisionTime": "2017-08-11T01:42:03Z",
|
||||
"version": "v1",
|
||||
"versionExact": "v1.20.0"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "I+g5iffd0bNDiI8swxzsHiJxBz0=",
|
||||
"path": "github.com/joho/godotenv",
|
||||
@@ -31,7 +23,15 @@
|
||||
"revisionTime": "2018-10-23T23:59:46Z",
|
||||
"version": "v0.8",
|
||||
"versionExact": "v0.8.0"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "wHJK2MbuCCBwndMy6qzRMCDuQ1E=",
|
||||
"path": "github.com/urfave/cli",
|
||||
"revision": "cfb38830724cc34fedffe9a2a29fb54fa9169cd1",
|
||||
"revisionTime": "2017-08-11T01:42:03Z",
|
||||
"version": "v1.20.0",
|
||||
"versionExact": "v1.20.0"
|
||||
}
|
||||
],
|
||||
"rootPath": "drone-pypi-1"
|
||||
"rootPath": "plugin-pypi"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user