Skip to content

Commit

Permalink
Publish Docker Image (#97)
Browse files Browse the repository at this point in the history
* Publish Docker Image

* Missing new lines

* Removed GitHub Action Config

* Revert "Removed GitHub Action Config"

This reverts commit e6976a6

* Removed GitHub Action
  • Loading branch information
fkorotkov authored Sep 22, 2020
1 parent fe17fc5 commit 45f73bd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM goreleaser/goreleaser:latest as builder

WORKDIR /build
ADD . /build

RUN goreleaser --skip-publish

FROM alpine:latest
LABEL org.opencontainers.image.source=https://github.com/cirruslabs/cirrus-cli/

COPY --from=builder /build/dist/cirrus_linux_amd64/cirrus /usr/local/bin/
ENTRYPOINT ["/usr/local/bin/cirrus"]

0 comments on commit 45f73bd

Please sign in to comment.