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