mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 12:07:49 +02:00
run packer as sudo
This commit is contained in:
parent
4e60ab080b
commit
208a3dcee8
1 changed files with 5 additions and 2 deletions
7
.github/workflows/lxc-build.yml
vendored
7
.github/workflows/lxc-build.yml
vendored
|
@ -33,9 +33,12 @@ jobs:
|
|||
|
||||
# build container
|
||||
- name: Build Artifact
|
||||
run: packer build -var 'make_threads=32' -var 'apt_mirror=http://azure.archive.ubuntu.com/ubuntu' piston.pkr.hcl
|
||||
run: sudo packer build -var 'make_threads=32' -var 'apt_mirror=http://azure.archive.ubuntu.com/ubuntu' piston.pkr.hcl
|
||||
working-directory: container
|
||||
- name: chown everything
|
||||
run: |
|
||||
sudo chown -R runner:runner .
|
||||
working-directory: container
|
||||
|
||||
- name: Rename config
|
||||
run: mv lxc-config config
|
||||
working-directory: container
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue