We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b351956 commit 3aa99cbCopy full SHA for 3aa99cb
buildspec-dockerhub.yml
@@ -10,7 +10,7 @@ phases:
10
commands:
11
- export IMAGE_TAG=$(echo $CODEBUILD_RESOLVED_SOURCE_VERSION | cut -c 1-7)
12
- export ACCOUNT=$(echo $CODEBUILD_BUILD_ARN |cut -f5 -d:)
13
- - export PROJECT_NAME=$(echo $CODEBUILD_BUILD_ID |sed -e 's/.*pipeline-\(.*\)-artifact.*/\1/'
+ - export PROJECT_NAME=$(echo $CODEBUILD_BUILD_ID | sed -e 's/.*pipeline-\(.*\)-artifact.*/\1/')
14
- export IMAGE_REPO_NAME="${docker_hub_username}/$PROJECT_NAME"
15
- echo '***** This is the current env:'
16
- printenv
0 commit comments