Compare commits
No commits in common. "57b283703e87f08336c16be16f3b8587acac4311" and "7cb4bda424f4d5bcd7f1c87426159da4c95d88ca" have entirely different histories.
57b283703e
...
7cb4bda424
2 changed files with 5 additions and 10 deletions
|
@ -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:
|
||||
|
|
|
@ -13,11 +13,6 @@ fail() {
|
|||
exit 1
|
||||
}
|
||||
|
||||
echo_and_run() {
|
||||
echo "$@"
|
||||
"$@"
|
||||
}
|
||||
|
||||
docker_login() {
|
||||
# TODO: detect registry url
|
||||
mkdir -p "$HOME/.docker"
|
||||
|
@ -67,7 +62,7 @@ build() {
|
|||
done < "$additional_tags"
|
||||
fi
|
||||
|
||||
echo_and_run buildctl-daemonless.sh \
|
||||
buildctl-daemonless.sh \
|
||||
build \
|
||||
--frontend dockerfile.v0 \
|
||||
--local context="$context" \
|
||||
|
|
Reference in a new issue