diff --git a/.circleci/config.yml b/.circleci/config.yml index 0ee3d92..cd87c5f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -68,14 +68,9 @@ jobs: name: Build Docker Container command: docker build -t vadyalex/ordnerd:master . - - run: - name: Tag latest - command: docker tag vadyalex/ordnerd:master - - run: name: Push to Docker Hub - command: | - docker push vadyalex/ordnerd:master + command: docker push vadyalex/ordnerd:master push-release: @@ -108,7 +103,11 @@ jobs: - run: name: Tag latest - command: docker tag vadyalex/ordnerd:${CIRCLE_TAG} vadyalex/ordnerd:master vadyalex/ordnerd:latest + command: docker tag vadyalex/ordnerd:${CIRCLE_TAG} vadyalex/ordnerd:latest + + - run: + name: Tag master + command: docker tag vadyalex/ordnerd:${CIRCLE_TAG} vadyalex/ordnerd:master - run: name: Push to Docker Hub