update dev
This commit is contained in:
@@ -474,8 +474,8 @@ pipelines:
|
||||
#- chmod 755 ./validation.sh && ./validation.sh default
|
||||
- echo "make sure that release version file and plan has been added to the release repo"
|
||||
- source release
|
||||
- export MANIFEST=$(aws ecr batch-get-image --repository-name weareconnectamerica-web --image-ids imageTag=$VERSION --output json | jq --raw-output --join-output '.images[0].imageManifest')
|
||||
- aws ecr put-image --repository-name weareconnectamerica-web --image-tag $RELEASE --image-manifest "$MANIFEST" && echo ------ image $VERSION has been retagged as $RELEASE || exit 9
|
||||
- export MANIFEST=$(aws ecr batch-get-image --repository-name $BITBUCKET_REPO_SLUG --image-ids imageTag=$VERSION --output json | jq --raw-output --join-output '.images[0].imageManifest')
|
||||
- aws ecr put-image --repository-name $BITBUCKET_REPO_SLUG --image-tag $RELEASE --image-manifest "$MANIFEST" && echo ------ image $VERSION has been retagged as $RELEASE || exit 9
|
||||
- echo "export VERSION=$RELEASE" >> setenv.sh
|
||||
- echo "export ENV=stage" >> setenv.sh
|
||||
artifacts: # define the artifacts to be passed to each future step
|
||||
@@ -519,7 +519,7 @@ pipelines:
|
||||
- cp -rf ./common-scripts-web/* . && ls -lrth && export ENV=dev
|
||||
- chmod 755 ./validation.sh && ./validation.sh default
|
||||
|
||||
- export IMAGE="weareconnectamerica-web" && export VERSION=$BITBUCKET_BUILD_NUMBER
|
||||
- export IMAGE="$BITBUCKET_REPO_SLUG" && export VERSION=$BITBUCKET_BUILD_NUMBER
|
||||
- aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 716593996126.dkr.ecr.us-east-1.amazonaws.com
|
||||
- docker build -t ${IMAGE} .
|
||||
- docker tag ${IMAGE} ${IMAGE}:${VERSION}
|
||||
|
||||
Reference in New Issue
Block a user