From c5d3eceedd89154ab435609f7a1127bc308723d6 Mon Sep 17 00:00:00 2001 From: Stepan Usatiuk Date: Mon, 2 Aug 2021 21:05:27 +0300 Subject: [PATCH] ci runs on branches do not pollute docker main --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 22c9ba1..82b31bf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -133,7 +133,7 @@ jobs: - run: name: build and push to docker hub #command: docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag stepanusatiuk/photos:latest . - command: docker buildx build --push --platform linux/amd64 --tag stepanusatiuk/photos:latest . + command: docker buildx build --push --platform linux/amd64 --tag stepanusatiuk/photos:$CIRCLE_BRANCH . workflows: version: 2