From 474263688db1f3c26ce38478fd1216853269896e Mon Sep 17 00:00:00 2001 From: Ernest Sarfo Date: Tue, 5 Nov 2024 10:55:36 +0000 Subject: [PATCH] add artifacts --- buildspec.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index d724317..95638e2 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -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: @@ -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