diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..b53e68c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = false + +[Makefile] +indent_style = tab \ No newline at end of file diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dcd9d00 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +Makefile eol=lf \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e3382f9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,5 @@ +services: + - docker + +script: + - make push diff --git a/Makefile b/Makefile index 0e2bf0b..27d654c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # VERSION # If no version is specified as a parameter of make, the value latest # is taken. -VERSION?=latest +VERSION:=$(or ${TRAVIS_TAG}, ${TRAVIS_TAG}, latest) # DOCKER_USER DOCKER_USER:=volkerraschek diff --git a/README.md b/README.md new file mode 100644 index 0000000..df71e54 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# build-image [![Build Status](https://travis-ci.com/volker-raschek/build-image.svg?branch=master)](https://travis-ci.com/volker-raschek/build-image) \ No newline at end of file