Fixing the build

This commit is contained in:
Kristian Haugene
2020-08-07 15:10:54 +02:00
parent 561e8d2e2c
commit ec502689c0

View File

@@ -55,7 +55,7 @@ jobs:
distro: alpine
- run:
name: Build Docker image
command: docker build -t $IMAGE_NAME:$IMAGE_TAG -f Dockerfile.alpine .
command: docker build -t $IMAGE_NAME:$IMAGE_TAG .
- run:
name: Login to Docker Hub
command: echo $DOCKER_PASS | docker login -u $DOCKER_USER --password-stdin
@@ -145,7 +145,7 @@ commands:
TAG_VERSION=$CIRCLE_BRANCH;
fi
if [ "<< parameters.distro >>" = "ubuntu" ]; then
if [ "<< parameters.distro >>" = "alpine" ]; then
TAG_DISTRO="";
else
TAG_DISTRO=-<< parameters.distro >>;