remove need for branches
This commit is contained in:
parent
5cb1fe7161
commit
9995a3bf0e
2 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -2,10 +2,6 @@ FROM lsiobase/alpine.python3
|
|||
|
||||
LABEL maintainer="dirtycajunrice"
|
||||
|
||||
ARG branch="master"
|
||||
|
||||
ENV branch=$branch
|
||||
|
||||
COPY / /app
|
||||
|
||||
RUN \
|
||||
|
|
Loading…
Reference in a new issue