From f3ec709353b799e8056b3baf980aa31ffaeeead3 Mon Sep 17 00:00:00 2001 From: Chris Pates Date: Tue, 31 May 2022 23:02:16 +0100 Subject: [PATCH] Update buildspec.yml Stiller working on goreleaser --- buildspec.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 9abb4588..4d58e9bb 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -56,13 +56,14 @@ phases: - rm -f ${OUTPUT} ${PACKAGED_TEMPLATE} # Make go-build - - go build -o $(APP_NAME) main.go + - go build -o ${APP_NAME} main.go # Make main - goreleaser build --snapshot --rm-dist # Package our application with AWS SAM - - sam package --output-template-file ${PACKAGED_TEMPLATE} --s3-bucket ${ARTIFACT_S3_BUCKET} + - aws cloudformation package --template-file ${TEMPLATE} --s3-bucket ${ARTIFACT_S3_BUCKET} --output-template-file ${PACKAGED_TEMPLATE} + artifacts: files: