kind: pipeline type: exec name: packer-ubuntu platform: os: linux arch: amd64 steps: - name: ubuntu commands: - packer build ubuntu/ubuntu-20.04-amd64.json - name: upload image: plugins/s3 settings: bucket: packer source: build/*.img.gz target: /build path_style: true endpoint: http://192.168.1.11:9000 access_key: from_secret: aws_access_key_id secret_key: from_secret: aws_secret_access_key --- kind: pipeline type: exec name: packer-debian platform: os: linux arch: amd64 steps: - name: debian commands: - packer build debian/debian-11.2-amd64.json - name: upload image: plugins/s3 settings: bucket: packer source: build/*.img.gz target: /build path_style: true endpoint: http://192.168.1.11:9000 access_key: from_secret: aws_access_key_id secret_key: from_secret: aws_secret_access_key