Skip to content

Commit

Permalink
LGA-2652 full build
Browse files Browse the repository at this point in the history
  • Loading branch information
TawneeOwl committed Aug 29, 2023
1 parent 54da51d commit f7f4b50
Showing 1 changed file with 7 additions and 20 deletions.
27 changes: 7 additions & 20 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,23 +133,10 @@ jobs:
echo "export ECR_DEPLOY_IMAGE=${AWS_ECR_REGISTRY_ID}.dkr.ecr.${ECR_REGION}.amazonaws.com/$ECR_REPOSITORY:$IMAGE_TAG" >> $BASH_ENV
- run: |
aws ecr get-login-password --region $ECR_REGION | docker login --username AWS --password-stdin ${AWS_ECR_REGISTRY_ID}.dkr.ecr.${ECR_REGION}.amazonaws.com
# Build and push your Docker image
# docker:
# - image: ministryofjustice/cloud-platform-tools
# steps:
# - checkout
# - setup_remote_docker:
# docker_layer_caching: true
# - run:
# name: Login to the ECR Docker registry
# command: |
# aws ecr get-login-password --region $AWS_DEFAULT_REGION \
# | docker login --username AWS --password-stdin \
# $ECR_ENDPOINT
- run:
name: Install trivy
command: |
whoami
sudo apt-get update
sudo apt-get install -y curl wget
VERSION=$(
Expand Down Expand Up @@ -210,12 +197,12 @@ workflows:
version: 2
build_and_test:
jobs:
#- lint
#- test
- build
#requires:
#- lint
#- test
- lint
- test
- build:
requires:
- lint
- test
- image_security_scan:
requires:
- build
Expand Down

0 comments on commit f7f4b50

Please sign in to comment.