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:
|
include:
|
||||||
- stage: "Build and Push"
|
- stage: "Build and Push"
|
||||||
script:
|
script:
|
||||||
- docker build --build-arg branch=$TRAVIS_BRANCH -t boerderij/varken:$TRAVIS_BRANCH .
|
- docker build -t boerderij/varken:$TRAVIS_BRANCH .
|
||||||
- docker images
|
- docker images
|
||||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||||
- docker push boerderij/varken:$TRAVIS_BRANCH
|
- docker push boerderij/varken:$TRAVIS_BRANCH
|
||||||
|
|
|
@ -2,10 +2,6 @@ FROM lsiobase/alpine.python3
|
||||||
|
|
||||||
LABEL maintainer="dirtycajunrice"
|
LABEL maintainer="dirtycajunrice"
|
||||||
|
|
||||||
ARG branch="master"
|
|
||||||
|
|
||||||
ENV branch=$branch
|
|
||||||
|
|
||||||
COPY / /app
|
COPY / /app
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
|
|
Loading…
Reference in a new issue