diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1ff4e29..28e62d6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -75,11 +75,15 @@ security_scanner: - docker:dind script: - scripts/packer.sh debian-buster - - find images -type f > images.txt + - aws --endpoint-url "$AWS_ENDPOINT_URL" s3 cp images/ "s3://$AWS_BUCKET/$CI_JOB_ID/" --recursive artifacts: paths: - - images - - images.txt + - images/*.initramfs + - images/*.dpkg-list + - images/*.initramfs + - images/*.linux + #- images/*.squashfs + - images/*.torrent tags: - fablab - ssd diff --git a/builder/Dockerfile b/builder/Dockerfile index f8bbf02..99370c0 100644 --- a/builder/Dockerfile +++ b/builder/Dockerfile @@ -22,6 +22,7 @@ RUN apk add --no-cache \ python3-dev \ && pip3 install --upgrade pip \ && pip3 install ansible=="$ANSIBLE_VERSION" \ + && pip3 install awscli \ && apk del .build-deps ARG PACKER_VERSION