From 421c26149eeecc3a117f080d62890fb7d632ab7a Mon Sep 17 00:00:00 2001 From: Antonio Pagano <645522+paganotoni@users.noreply.github.com> Date: Mon, 20 Apr 2020 21:04:10 -0500 Subject: [PATCH] Task fix docker image (#1978) * adding direct version on the docker build * fixing docker image * removing extra file on the release * removing that extra file from the build * removing conflict --- .goreleaser.yml | 3 --- Dockerfile.build | 4 ++-- Dockerfile.slim.build | 4 ++-- runtime/version.go | 2 +- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 2bd591e4e..ce7fef0ce 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -35,9 +35,6 @@ changelog: exclude: - '^docs:' - '^test:' -release: - extra_files: - - glob: ./dist/buffalo_Linux_x86_64.tar.gz brews: - name: 'buffalo' diff --git a/Dockerfile.build b/Dockerfile.build index 200bfeb84..276603747 100644 --- a/Dockerfile.build +++ b/Dockerfile.build @@ -33,8 +33,8 @@ RUN npm install -g --no-progress yarn \ RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.24.0 # Pulling docker binary from releases -RUN wget https://github.com/gobuffalo/buffalo/releases/download/v0.16.7/buffalo_0.16.7_Linux_x86_64.tar.gz \ - && tar -xzf buffalo_0.16.7_Linux_x86_64.tar.gz \ +RUN wget https://github.com/gobuffalo/buffalo/releases/download/v0.16.8/buffalo_0.16.8_Linux_x86_64.tar.gz \ + && tar -xzf buffalo_0.16.8_Linux_x86_64.tar.gz \ && mv buffalo $(go env GOPATH)/bin/buffalo RUN buffalo plugins install github.com/gobuffalo/buffalo-pop/v2 diff --git a/Dockerfile.slim.build b/Dockerfile.slim.build index 5c83fe661..5556c27d4 100644 --- a/Dockerfile.slim.build +++ b/Dockerfile.slim.build @@ -19,8 +19,8 @@ RUN npm i -g --no-progress yarn \ && yarn config set yarn-offline-mirror-pruning true # Pulling docker binary from releases -RUN wget https://github.com/gobuffalo/buffalo/releases/download/v0.16.7/buffalo_0.16.7_Linux_x86_64.tar.gz \ - && tar -xzf buffalo_0.16.7_Linux_x86_64.tar.gz \ +RUN wget https://github.com/gobuffalo/buffalo/releases/download/v0.16.8/buffalo_0.16.8_Linux_x86_64.tar.gz \ + && tar -xzf buffalo_0.16.8_Linux_x86_64.tar.gz \ && mv buffalo $(go env GOPATH)/bin/buffalo RUN buffalo plugins install github.com/gobuffalo/buffalo-pop/v2 diff --git a/runtime/version.go b/runtime/version.go index 77e6d7e39..039d8841c 100644 --- a/runtime/version.go +++ b/runtime/version.go @@ -1,4 +1,4 @@ package runtime // Version is the current version of the buffalo binary -var Version = "v0.16.7" +var Version = "v0.16.8"