Skip to content

Commit

Permalink
add artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
thesarfo committed Nov 5, 2024
1 parent 73d973d commit 4742636
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ phases:
build:
commands:
- echo Building the Docker image...
- mvn clean package
- docker build -t $REPOSITORY_URI:latest .
- docker tag $REPOSITORY_URI:latest $REPOSITORY_URI:$CODEBUILD_RESOLVED_SOURCE_VERSION
post_build:
Expand All @@ -19,5 +18,5 @@ phases:
- docker push $REPOSITORY_URI:latest
- docker push $REPOSITORY_URI:$CODEBUILD_RESOLVED_SOURCE_VERSION
artifacts:
files: 'imagedefinitions.json'
files: '**/*'
discard-paths: yes

0 comments on commit 4742636

Please sign in to comment.