Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(PPDSC-2471): update DOCKER_TAG to enable deploys from main #427

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -783,9 +783,11 @@ jobs:
name: Assume role and build docker images
command: |
if [ << parameters.docker_version >> = release ]; then
export DOCKER_TAG=$(node -p "require('./package.json').version")
export DOCKER_TAG=$(node -p "require('./package.json').version")-release
elif [ << parameters.docker_version >> = prod ]; then
export DOCKER_TAG=$(node -p "require('./package.json').version")-prod-$CIRCLE_SHA1
else
export DOCKER_TAG=$(node -p "require('./package.json').version")-$CIRCLE_SHA1
export DOCKER_TAG=$(node -p "require('./package.json').version")-dev-$CIRCLE_SHA1
fi
export AWS_ACCESS_KEY_ID=<< parameters.aws_access_key_id >>
export AWS_SECRET_ACCESS_KEY=<< parameters.aws_secret_key >>
Expand Down Expand Up @@ -968,7 +970,7 @@ jobs:
# Temp downgrading React. Needed for avoiding Hydration error with React v18 https://github.com/vercel/next.js/discussions/35773
yarn add [email protected]
yarn add [email protected]
yarn add @emotion/react
yarn add @emotion/react
yarn add @emotion/styled
yarn add -D [email protected];
- run:
Expand Down Expand Up @@ -1427,6 +1429,7 @@ workflows:
- build_push_docker_ecr:
name: build_push_docker_ecr_dev
context: ncu-product-platforms-context
docker_version: dev
requires:
- build_storybook
- lint
Expand Down Expand Up @@ -1461,6 +1464,7 @@ workflows:
- build_push_docker_ecr:
name: build_push_docker_ecr_prod
context: ncu-product-platforms-context
docker_version: prod
requires:
- build_docs_prod_link

Expand Down