From 6b4d76fcb5c2a873531af13d904b0c2957ef51ee Mon Sep 17 00:00:00 2001 From: satyamchaurasiapersistent <102941840+satyamchaurasiapersistent@users.noreply.github.com> Date: Mon, 19 Feb 2024 10:41:24 +0200 Subject: [PATCH] Hi This is me (#1322) Co-authored-by: Satyam Chaurasia --- .circleci/config.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 45ab8258a..e9c0e6c6c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -126,21 +126,21 @@ jobs: command: | VERSION=$(cat ./build/libs/version.txt) SHA1_SHORT=${CIRCLE_SHA1::7} - docker login -u ${DOCKER_USER} -p ${DOCKER_PASSWORD} docker.io + docker login -u ${DCR_USR} -p ${DCR_PW} docker.io docker build --target java17 \ - -t ${DOCKER_REPO}:${SHA1_SHORT} \ - -t ${DOCKER_REPO}:${VERSION}-17 \ - -t ${DOCKER_REPO}:${VERSION} \ - -t ${DOCKER_REPO} \ + -t ${DCR_REPO}:${SHA1_SHORT} \ + -t ${DCR_REPO}:${VERSION}-17 \ + -t ${DCR_REPO}:${VERSION} \ + -t ${DCR_REPO} \ . - docker push ${DOCKER_REPO}:${SHA1_SHORT} + docker push ${DCR_REPO}:${SHA1_SHORT} - run: name: Archive Docker images command: | VERSION=$(cat ./build/libs/version.txt) - docker save -o image-17.tar ${DOCKER_REPO}:${VERSION}-17 - docker save -o image.tar ${DOCKER_REPO}:${VERSION} - docker save -o latest.tar ${DOCKER_REPO}:latest + docker save -o image-17.tar ${DCR_REPO}:${VERSION}-17 + docker save -o image.tar ${DCR_REPO}:${VERSION} + docker save -o latest.tar ${DCR_REPO}:latest - persist_to_workspace: root: . paths: @@ -517,8 +517,8 @@ jobs: - run: name: Publish Docker images to Docker Hub command: | - docker login -u ${DOCKER_USER} -p ${DOCKER_PASSWORD} docker.io - docker push ${DOCKER_REPO} + docker login -u ${DCR_USR} -p ${DCR_PW} docker.io + docker push ${DCR_REPO} publish-github-release: docker: - image: circleci/golang:1.16.12 @@ -646,7 +646,7 @@ workflows: - docker-push-stable: filters: branches: - only: master + only: develop requires: - integration-tests - sca-integration-tests