mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-08-19 12:16:38 +00:00
* Use goreleaser to build and push docker images * Update CircleCI config to install goreleaser dependencies * Update goreleaser.sh to create a temporary tag when CIRCLE_TAG is not set * Update Dockerfile for goreleaser * Update goreleaser.sh to trap errors and cleanup temporary git branch, for local runs * Update goreleaser.sh to envsubst specific variables, to not break the `sign` section using signature and artifact variables * Fix goreleaser.sh logic to only release when CIRCLE_TAG is set
11 lines
314 B
Bash
Executable File
11 lines
314 B
Bash
Executable File
#!/usr/bin/env sh
|
|
set -e
|
|
# Install packr2 and generate packr boxes for Polaris.
|
|
# IDeally this script is called with $GOBIN already set to a temporary
|
|
# directory, where packr2 will be installed.
|
|
if [ "x${GOBIN}" != "x" ] ; then
|
|
PATH=$GOBIN:$PATH
|
|
fi
|
|
go install github.com/gobuffalo/packr/v2/packr2@latest
|
|
packr2
|