Skip to content

Commit

Permalink
remove need for branches
Browse files Browse the repository at this point in the history
  • Loading branch information
dirtycajunrice committed Dec 11, 2018
1 parent 2bfcc07 commit 79ba26f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ FROM lsiobase/alpine.python3

LABEL maintainer="dirtycajunrice"

ARG branch="master"

ENV branch=$branch

COPY / /app

RUN \
Expand Down

0 comments on commit 79ba26f

Please sign in to comment.