···5555 # env vars for build/ci-publish-builds
5656 IMAGE_NAME: $CI_REGISTRY/$CI_PROJECT_PATH
5757 DOCKER_BUILD_REPO: https://tangled.org/recaptime.dev/knot-docker-nest
5858+ # enable "set +x" for debugging
5959+ DEBUG: "true"
58605961.build-base:
6062 stage: build
+7
bin/build
···11#!/usr/bin/env bash
22# SPDX-License-Identifier: MIT
33+if [[ $DEBUG != "" ]]; then
44+ set +x
55+fi
3647# First, collect metadata from git about the current commit
58_COMMIT_SHA_LOCAL=$(git rev-parse HEAD)
···4649 fi
4750else
4851 echo "Skipping push of $IMAGE_NAME:build-$TIMESTAMP to registry"
5252+fi
5353+5454+if [[ $DEBUG != "" ]]; then
5555+ set -x
4956fi