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

Commit

Permalink
bugfix: fixing goreleaser binary match
Browse files Browse the repository at this point in the history
  • Loading branch information
paganotoni committed Dec 7, 2022
1 parent 83b1484 commit ab9b44f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
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

0 comments on commit ab9b44f

Please sign in to comment.