mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
14 lines
390 B
Bash
14 lines
390 B
Bash
#!/bin/sh
|
|
set -xe
|
|
distro=$1
|
|
distrover=$2
|
|
name=vdirsyncer-$distro-$distrover:latest
|
|
|
|
docker build \
|
|
--build-arg distro=$distro \
|
|
--build-arg distrover=$distrover \
|
|
-t $name \
|
|
-f scripts/dpkg.Dockerfile .
|
|
rm -f dist/pkgs/*.deb
|
|
docker run $name tar -c -C /vdirsyncer pkgs | tar x -C dist/
|
|
package_cloud push pimutils/vdirsyncer/$distro/$distrover --skip-errors dist/pkgs/*.deb
|