Update .forgejo/workflows/build.yml
This commit is contained in:
parent
764e081ade
commit
eb4e46c544
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ jobs:
|
|||
xcaddy_cmd=""
|
||||
for app in $CADDY_APPS; do xcaddy_cmd+=" --with $app"; done
|
||||
escaped_cmd=$(printf '%s\n' "$xcaddy_cmd" | sed 's/[\/&]/\\&/g')
|
||||
sed -i "s|\#\$XCADDY_APPS|$escaped_cmd|g" podmanfile
|
||||
sed -i "s|\#\$XCADDY_APPS|$escaped_cmd|g" Containerfile
|
||||
podman build --build-arg NPROC=1 -t $PODMAN_REGISTRY/$REGISTRY_USER/$PACKAGE:latest .
|
||||
echo "${{ secrets.podman_PASSWORD }}" | podman login $PODMAN_REGISTRY -u $REGISTRY_USER --password-stdin
|
||||
podman push --all-tags $PODMAN_REGISTRY/$REGISTRY_USER/$PACKAGE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue