aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJulien Dessaux2022-09-13 23:03:51 +0200
committerJulien Dessaux2022-09-13 23:34:27 +0200
commit1ad02aa2a5340c17d4ca3ab3ce9c76a987d95eb8 (patch)
tree19d3015a17a1a6c977e50b843a01bb9ee15993b0 /common
parentRenamed www-deploy to www-build to reflect what it really does (diff)
downloadev-scripts-1ad02aa2a5340c17d4ca3ab3ce9c76a987d95eb8.tar.gz
ev-scripts-1ad02aa2a5340c17d4ca3ab3ce9c76a987d95eb8.tar.bz2
ev-scripts-1ad02aa2a5340c17d4ca3ab3ce9c76a987d95eb8.zip
Added a buildah login step to the www-build job
Diffstat (limited to '')
-rw-r--r--common/buildah-login.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/buildah-login.sh b/common/buildah-login.sh
new file mode 100644
index 0000000..f4a6e9b
--- /dev/null
+++ b/common/buildah-login.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+LOGIN=`cat $EVENTLINE_DIR/identities/quay-io/login`
+PASSWORD=`cat $EVENTLINE_DIR/identities/quay-io/password`
+
+buildah login -u "${LOGIN}" -p "${PASSWORD}" quay.io