[glib-networking] ci: docker -> podman
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking] ci: docker -> podman
- Date: Mon, 19 Aug 2019 20:46:37 +0000 (UTC)
commit 1590ea82d8ccbb65628a4379a3e55564d681090c
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Mon Aug 19 15:44:49 2019 -0500
ci: docker -> podman
Looks like the Docker ecosystem in Fedora is EOL and podman is the
future. No more need for sudo!
.gitlab-ci/run-docker.sh | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/.gitlab-ci/run-docker.sh b/.gitlab-ci/run-docker.sh
index 3a66ba9..8ded926 100755
--- a/.gitlab-ci/run-docker.sh
+++ b/.gitlab-ci/run-docker.sh
@@ -2,17 +2,17 @@
set -e
-TAG="registry.gitlab.gnome.org/gnome/glib-networking/master:v4"
+TAG="registry.gitlab.gnome.org/gnome/glib-networking/master:v5"
cd "$(dirname "$0")"
-sudo docker build --build-arg HOST_USER_ID="$UID" --tag "${TAG}" --file "Dockerfile" .
+podman build --build-arg HOST_USER_ID="$UID" --tag "${TAG}" .
if [ "$1" = "--push" ]; then
- sudo docker login registry.gitlab.gnome.org
- sudo docker push $TAG
+ podman login registry.gitlab.gnome.org
+ podman push $TAG
else
- sudo docker run --rm \
+ podman run --rm \
--volume "$(pwd)/..:/home/user/app" --workdir "/home/user/app" \
--tty --interactive "${TAG}" bash
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]