Try runit's chpst for env vars
This commit is contained in:
parent
32b4f1fb03
commit
f9020b44a5
@ -2,18 +2,15 @@ image: alpine/edge
|
||||
|
||||
secrets:
|
||||
- 0f9c437f-5dfc-49f1-abfb-0030f265c018
|
||||
- 3b6a01b6-474d-4686-aa87-9c7594d3fb83
|
||||
- c9f8b351-ad8d-49e2-a076-9f9e0cd2d285
|
||||
|
||||
packages:
|
||||
- docker
|
||||
- perl
|
||||
- just
|
||||
- runit
|
||||
|
||||
tasks:
|
||||
- prep: |
|
||||
set +x
|
||||
perl -nE '$ARGV =~ s/.*\.(.+)/uc($1)/e; chomp; printf qq/export %s="%s"\n/,$ARGV, $_;' ~/.env.* >> ~/.buildenv
|
||||
set -x
|
||||
sudo addgroup build docker
|
||||
sudo rc-service docker start
|
||||
sleep 4
|
||||
@ -22,4 +19,4 @@ tasks:
|
||||
just build
|
||||
- publish: |
|
||||
cd alpine-cli
|
||||
just publish
|
||||
chpst -e ~/.envdir just publish
|
||||
|
||||
Loading…
Reference in New Issue
Block a user