Browse Source

testing ci again

master
Jeffrey Paul 4 months ago
parent
commit
94f948da04
  1. 6
      .drone.yml
  2. 8
      Dockerfile

6
.drone.yml

@ -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}

8
Dockerfile

@ -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…
Cancel
Save