This commit is contained in:
parent
16f461ef38
commit
94f948da04
@ -4,11 +4,11 @@ name: test-docker-build
|
|||||||
steps:
|
steps:
|
||||||
- name: test-docker-build
|
- name: test-docker-build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
network_mode: bridge
|
||||||
settings:
|
settings:
|
||||||
repo: foo/bar
|
repo: sneak/mfer
|
||||||
dry_run: true
|
dry_run: true
|
||||||
custom_dns: 116.202.204.30
|
custom_dns: [ 116.202.204.30 ]
|
||||||
target: builder
|
|
||||||
tags:
|
tags:
|
||||||
- ${DRONE_COMMIT_SHA}
|
- ${DRONE_COMMIT_SHA}
|
||||||
- ${DRONE_BRANCH}
|
- ${DRONE_BRANCH}
|
||||||
|
@ -28,6 +28,8 @@ RUN make
|
|||||||
RUN tar -c . | bzip2 > /src.tbz2
|
RUN tar -c . | bzip2 > /src.tbz2
|
||||||
|
|
||||||
|
|
||||||
#FROM scratch
|
FROM scratch
|
||||||
#COPY --from=builder /src.tbz2 /
|
COPY --from=builder /src.tbz2 /src.tbz2
|
||||||
#COPY --from=builder /build/mfer /
|
COPY --from=builder /build/mfer /mfer
|
||||||
|
ENTRYPOINT ["/mfer"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user