Update docker build to 0.1.2 (#793)

* build: use 0.1.2 for docker build

* feat: tag latest when tagging new docker release
pull/803/head
Jeff Malnick 6 years ago committed by GitHub
parent aa655f6991
commit 1b697b7bce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -153,7 +153,7 @@ install-go:
# Docker build and publish variables and targets
REGISTRY_NAME?=docker.io/hashicorp
IMAGE_NAME=boundary
VERSION?=0.1.1
VERSION?=0.1.2
IMAGE_TAG=$(REGISTRY_NAME)/$(IMAGE_NAME):$(VERSION)
IMAGE_TAG_DEV=$(REGISTRY_NAME)/$(IMAGE_NAME):latest-$(shell git rev-parse --short HEAD)
DOCKER_DIR=./docker
@ -165,6 +165,7 @@ docker-build:
docker build -t $(IMAGE_TAG) \
--build-arg VERSION=$(VERSION) \
-f $(DOCKER_DIR)/Release.dockerfile docker/
docker tag $(IMAGE_TAG) hashicorp/boundary:latest
# builds from locally generated binary in bin/
docker-build-dev: export XC_OSARCH=linux/amd64
@ -175,6 +176,7 @@ docker-build-dev: dev
# requires appropriate permissions in dockerhub
docker-publish:
docker push $(IMAGE_TAG)
docker push hashicorp/boundary:latest
.PHONY: api tools gen migrations proto website ci-config ci-verify set-ui-version docker docker-build docker-build-dev docker-publish

@ -1,6 +1,6 @@
FROM docker.mirror.hashicorp.services/alpine:3.10
ARG VERSION=0.1.1
ARG VERSION=0.1.2
LABEL name="Boundary" \
maintainer="HashiCorp Boundary Team <boundary@hashicorp.com>" \

Loading…
Cancel
Save