Compare commits

...

2 commits

Author SHA1 Message Date
57b283703e
Add debug echo. 2022-03-09 16:09:23 +01:00
539064d050
Fix formatting of ci/pipeline.yml. 2022-03-09 16:06:51 +01:00
2 changed files with 10 additions and 5 deletions

View file

@ -17,7 +17,7 @@ jobs:
trigger: true
- get: upstream-image
trigger: true
- task: compute-docker-tags:
- task: compute-docker-tags
config:
platform: linux
image_resource:
@ -34,9 +34,9 @@ jobs:
args:
- -c
- |
#!/usr/bin/env sh
apk add --no-cache git
git rev-parse --short HEAD > docker-tags/tags.txt
#!/usr/bin/env sh
apk add --no-cache git
git rev-parse --short HEAD > docker-tags/tags.txt
- task: build
privileged: true
config:

View file

@ -13,6 +13,11 @@ fail() {
exit 1
}
echo_and_run() {
echo "$@"
"$@"
}
docker_login() {
# TODO: detect registry url
mkdir -p "$HOME/.docker"
@ -62,7 +67,7 @@ build() {
done < "$additional_tags"
fi
buildctl-daemonless.sh \
echo_and_run buildctl-daemonless.sh \
build \
--frontend dockerfile.v0 \
--local context="$context" \