Skip to content

Commit

Permalink
ls binary and add --no-cache flag to docker build
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Rodriguez <[email protected]>
  • Loading branch information
lucasrod16 committed Sep 28, 2024
1 parent 6947fbd commit fabeae1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ npm --prefix=ui run build
GOOS=linux GOARCH=amd64 go build -o ./bin/api

echo "${DOCKER_PASSWORD}" | docker login --username="${DOCKER_USERNAME}" --password-stdin
docker buildx build --platform="linux/amd64" --push -t "lucasrod96/oss-contribute:${IMAGE_VERSION}" .
ls -lah ./bin/api
docker buildx build --no-cache --platform="linux/amd64" --push -t "lucasrod96/oss-contribute:${IMAGE_VERSION}" .

terraform init
terraform plan -var="image_version=${IMAGE_VERSION}"
Expand Down

0 comments on commit fabeae1

Please sign in to comment.