Skip to content

Commit

Permalink
Se agrega buildspec.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbuenol committed Mar 22, 2024
1 parent b05aadd commit 78c3a94
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions buildspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 0.2

env:
variables:
GO_VERSION: 1.21.6
phases:
install:
commands:
- go mod download
pre_build:
commands:
- echo Start pre_build...
build:
commands:
- echo Start build...
- cd $CODEBUILD_SRC_DIR && go build
post_build:
commands:
- echo Start post_build...
- aws s3 cp $CODEBUILD_SRC_DIR/main s3://bucket-name/

0 comments on commit 78c3a94

Please sign in to comment.