Skip to content

Commit

Permalink
Merge branch 'release-0.2.0' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
BertrandGouny committed Jul 19, 2017
2 parents f8a90e4 + b21e2d4 commit 2bab7ed
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.2.0
- etcdctl v3.2.1
- Upgrade baseimage: tinc:0.2.0 (debian stretch)

## 0.1.3
- Upgrade baseimage: tinc:0.1.4

Expand Down
23 changes: 14 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
NAME = osixia/tinc-etcd
VERSION = 0.1.3
VERSION = 0.2.0

.PHONY: all build build-nocache test tag_latest release

all: build
.PHONY: build build-nocache test tag-latest push push-latest release git-tag-version

build:
docker build -t $(NAME):$(VERSION) --rm image
Expand All @@ -14,10 +12,17 @@ build-nocache:
test:
env NAME=$(NAME) VERSION=$(VERSION) bats test/test.bats

tag_latest:
tag-latest:
docker tag $(NAME):$(VERSION) $(NAME):latest

release: build test tag_latest
@if ! docker images $(NAME) | awk '{ print $$2 }' | grep -q -F $(VERSION); then echo "$(NAME) version $(VERSION) is not yet built. Please run 'make build'"; false; fi
docker push $(NAME)
@echo "*** Don't forget to run 'twgit release/hotfix finish' :)"
push:
docker push $(NAME):$(VERSION)

push-latest:
docker push $(NAME):latest

release: build test tag-latest push push-latest

git-tag-version: release
git tag -a v$(VERSION) -m "v$(VERSION)"
git push origin v$(VERSION)
4 changes: 2 additions & 2 deletions image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM osixia/tinc:0.1.4
FROM osixia/tinc:0.2.0
MAINTAINER Bertrand Gouny <bertrand.gouny@osixia.net>

ENV ETCD_VERSION=3.0.4
ARG ETCD_VERSION=3.2.1

# Install multiple process stack from baseimage
# https://github.com/osixia/docker-light-baseimage/blob/stable/image/tool/install-multiple-process-stack
Expand Down

0 comments on commit 2bab7ed

Please sign in to comment.