Skip to content

Commit

Permalink
push docker manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
liamg committed Nov 24, 2021
1 parent 3eba3a5 commit f66e626
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
11 changes: 8 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ dockers:
dockerfile: Dockerfile
skip_push: auto
image_templates:
- "ghcr.io/liamg/extrude:latest"
- "ghcr.io/liamg/extrude:{{ .Tag }}"

- "ghcr.io/liamg/{{ .ProjectName }}:{{ .Version }}"
docker_manifests:
- name_template: ghcr.io/liamg/{{ .ProjectName }}:{{ .Version }}
image_templates:
- ghcr.io/liamg/{{ .ProjectName }}:{{ .Version }}
- name_template: ghcr.io/liamg/{{ .ProjectName }}:latest
image_templates:
- ghcr.io/liamg/{{ .ProjectName }}:{{ .Version }}
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
FROM golang:alpine AS builder
RUN apk update && apk add --no-cache git
WORKDIR /build
COPY . .
FROM scratch
COPY --from=builder /build/extrude /extrude
COPY extrude /
ENTRYPOINT ["/extrude"]

0 comments on commit f66e626

Please sign in to comment.