Fix secret_key and paths
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Tyler 2022-03-06 16:45:37 -05:00
parent d8793a4f80
commit c03d928fa0
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ steps:
- name: ubuntu
commands:
- packer build ubuntu/ubuntu-20.04-amd64.json
- s3cmd --access_key=$ACCESS_KEY --secret-key=$SECRET_KEY --host=192.168.1.11:9000 --host-bucket=192.168.1.11:9000 put builds/debian-11.2.img.gz s3://packer
- s3cmd --access_key=$ACCESS_KEY --secret_key=$SECRET_KEY --host=192.168.1.11:9000 --host-bucket=192.168.1.11:9000 put builds/*.img.gz s3://packer
environment:
ACCESS_KEY:
from_secret: aws_access_key_id
@ -29,7 +29,7 @@ steps:
- name: debian
commands:
- packer build debian/debian-11.2-amd64.json
- s3cmd --access_key=$ACCESS_KEY --secret-key=$SECRET_KEY --host=192.168.1.11:9000 --host-bucket=192.168.1.11:9000 put builds/debian-11.2.img.gz s3://packer
- s3cmd --access_key=$ACCESS_KEY --secret_key=$SECRET_KEY --host=192.168.1.11:9000 --host-bucket=192.168.1.11:9000 put builds/*.img.gz s3://packer
environment:
ACCESS_KEY:
from_secret: aws_access_key_id