Codebuild
Codebuild
Uses:
Notes
version: 0.2
phases:
install:
runtime-versions:
java: openjdk8
nodejs: 10
pre_build:
commands:
- echo Building image
- ls
- cd GraderFiles
build:
commands:
- pwd
- echo START PUBLIC LOG
- docker build -t test .
- echo END PUBLIC LOG
post_build:
commands:
- docker image ls
- docker save test -o test.tar
- echo $CODEBUILD_SRC_DIR
artifacts:
files:
- test.tarArtifacts
Example 2 Running AWSCLI and Server Artifact
Last updated