Compare commits

..

No commits in common. "57b283703e87f08336c16be16f3b8587acac4311" and "7cb4bda424f4d5bcd7f1c87426159da4c95d88ca" have entirely different histories.

2 changed files with 5 additions and 10 deletions

View file

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

View file

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