Move CI runners to Droplet and enable application HTTPS
vpn-dns-gateway/pipeline/pr-main This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
This commit is contained in:
@@ -19,7 +19,12 @@ else
|
||||
cat "$reports/manifest-check.log" >&2
|
||||
exit 1
|
||||
fi
|
||||
docker build --platform linux/amd64 --build-arg "APP_COMMIT=$commit" -t "$image:$commit" delivery/app
|
||||
if [ -n "${DELIVERY_BUILDER:-}" ]; then
|
||||
docker buildx build --builder "$DELIVERY_BUILDER" --load --platform linux/amd64 \
|
||||
--build-arg "APP_COMMIT=$commit" -t "$image:$commit" delivery/app
|
||||
else
|
||||
docker build --platform linux/amd64 --build-arg "APP_COMMIT=$commit" -t "$image:$commit" delivery/app
|
||||
fi
|
||||
python3 delivery/ci/security.py image --image "$image:$commit" --reports "$reports/image-gate"
|
||||
docker push "$image:$commit"
|
||||
docker pull "$image:$commit"
|
||||
|
||||
Reference in New Issue
Block a user