make things work w/ sudo

This commit is contained in:
Jason Swank
2023-03-01 10:02:44 -05:00
parent 06afe5f0d2
commit 9bbbaeaed0
2 changed files with 6 additions and 6 deletions

View File

@@ -19,11 +19,11 @@ tasks:
# build the image using the just recipe
- build: |
cd alpine-cli
just build
sudo -E just build
# set environment variables from the ~/.envdir directory
# see http://smarden.org/runit/chpst.8.html for details on chpst
# publish the image using the just recipe
- publish: |
cd alpine-cli
chpst -e ~/.envdir just publish
chpst -e ~/.envdir sudo -E just publish