Update build file
This commit is contained in:
@@ -37,13 +37,11 @@ tasks:
|
||||
cd alpine-cli
|
||||
go-task build
|
||||
|
||||
# publish the image using the just recipe
|
||||
# publish the image using task
|
||||
# - set environment variables from the ~/.envdir directory. see
|
||||
# http://smarden.org/runit/chpst.8.html for details on chpst
|
||||
# - sudo (-u root) is required to run podman without more setup
|
||||
# - sudo --preserve-env is required to pass environment variables
|
||||
- publish: |
|
||||
cd alpine-cli
|
||||
chpst -e ~/.envdir go-task publish
|
||||
# chpst -e ~/.envdir sudo --preserve-env just registry=docker.io registry_pass_var=DH_PAT publish
|
||||
# chpst -e ~/.envdir sudo --preserve-env just registry=quay.io registry_pass_var=QUAY_PAT publish
|
||||
chpst -e ~/.envdir go-task registry=docker.io registry_pass_var=DH_PAT publish
|
||||
chpst -e ~/.envdir go-task registry=quay.io registry_pass_var=QUAY_PAT publish
|
||||
|
||||
Reference in New Issue
Block a user