Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

bugfix: fixing goreleaser binary match #248

Merged
merged 1 commit into from
Dec 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,21 @@ brews:
name: 'homebrew-tap'
install: |
bin.install "buffalo"

dockers:
-
image_templates:
- gobuffalo/buffalo:{{ .Tag }}
- gobuffalo/buffalo:{{ .Tag }}
dockerfile: 'Dockerfile.build'
goos: linux
goarch: amd64
use: docker

build_flag_templates:
- "--build-arg=DOCKER_TAG={{.Tag}}"

-
image_templates:
- gobuffalo/buffalo:{{ .Tag }}-slim
- gobuffalo/buffalo:{{ .Tag }}-slim
dockerfile: 'Dockerfile.slim.build'
goos: linux
goarch: amd64
use: docker

build_flag_templates:
- "--build-arg=DOCKER_TAG={{.Tag}}"

1 change: 0 additions & 1 deletion Dockerfile.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM golang:1.18

EXPOSE 3000
ARG DOCKER_TAG

RUN apt-get update \
&& apt-get install -y -q build-essential sqlite3 libsqlite3-dev postgresql libpq-dev vim
Expand Down
2 changes: 0 additions & 2 deletions Dockerfile.slim.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ FROM golang:1.18-alpine

EXPOSE 3000

ARG DOCKER_TAG

RUN apk add --no-cache --upgrade apk-tools \
&& apk add --no-cache bash curl openssl git build-base nodejs npm sqlite sqlite-dev mysql-client vim postgresql libpq postgresql-contrib libc6-compat

Expand Down