From e9d30b3eda350bc8edce39f977e5e37a342c2508 Mon Sep 17 00:00:00 2001 From: Chris Laprun Date: Wed, 18 Sep 2019 21:30:36 +0200 Subject: [PATCH] fix: do not hardcode master as version --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bac5ad8..5eaf3ca 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,7 +29,7 @@ jobs: - run: name: Build hal container image and publish it on quay under halkyonio org command: | - VERSION=master + VERSION=${CIRCLE_BRANCH} docker build -t hal:${VERSION} -f build/Dockerfile . TAG_ID=$(docker images -q hal:${VERSION}) docker tag ${TAG_ID} quay.io/halkyonio/hal:${VERSION}