From 79ba26f50966bfbf286bbefa892d13d261d08313 Mon Sep 17 00:00:00 2001 From: dirtycajunrice Date: Tue, 11 Dec 2018 00:29:00 -0600 Subject: [PATCH] remove need for branches --- .travis.yml | 2 +- Dockerfile | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4653958e..f4ed0fed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ jobs: include: - stage: "Build and Push" script: - - docker build --build-arg branch=$TRAVIS_BRANCH -t boerderij/varken:$TRAVIS_BRANCH . + - docker build -t boerderij/varken:$TRAVIS_BRANCH . - docker images - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - docker push boerderij/varken:$TRAVIS_BRANCH diff --git a/Dockerfile b/Dockerfile index c0d45170..aa7fcf9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,6 @@ FROM lsiobase/alpine.python3 LABEL maintainer="dirtycajunrice" -ARG branch="master" - -ENV branch=$branch - COPY / /app RUN \