Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Commit

Permalink
Fix AWS build
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Nov 4, 2021
1 parent f4e08c2 commit 4ea0019
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion ros-image-build
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ ARG NAME=RancherOS-Image-dev
ARG VERSION=1
ARG GIT_COMMIT=HEAD
RUN packer build \
-var "root_password=ros" \
-var "cos_version=${VERSION}" \
-var "git_sha=${GIT_COMMIT}" \
-var 'aws_source_ami_filter_owners=["053594193760"]' \
Expand Down
2 changes: 1 addition & 1 deletion scripts/package
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if [ "$PUSH" = "true" ]; then
make push-framework
fi

if [ "$PUSH" = "true" ] && [ -n "$AWS_SECRET_ACCESS_KEY" ]; then
if [ "$PUSH" = "true" ] && [ -n "$AWS_SECRET_ACCESS_KEY" ] && [ -n "${DRONE_TAG}" ]; then
IMAGE_TARGETS="${IMAGE_TARGETS} all-amis"
fi

Expand Down

0 comments on commit 4ea0019

Please sign in to comment.