1
0
mirror of https://github.com/ebosas/microservices.git synced 2024-11-24 08:02:24 +02:00

Pipeline test

This commit is contained in:
ebosas 2021-11-06 20:22:45 +02:00
parent fe5a28e1f9
commit 2fbc1a0b23

View File

@ -3,7 +3,7 @@ phases:
pre_build:
commands:
- aws ecr get-login-password --region $AWS_DEFAULT_REGION | docker login --username AWS --password-stdin $AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com
- TAG=$(echo $GIT_COMMIT_ID | head -c 8)
- TAG=$(echo $CODEBUILD_RESOLVED_SOURCE_VERSION | head -c 8)
- IMAGE_URI=$REPO_URI:$TAG
build:
commands: