mirror of
https://gitea.intern.drachenfels.de/ruben/goget.git
synced 2026-02-08 12:48:01 +00:00
15 lines
338 B
Bash
Executable File
15 lines
338 B
Bash
Executable File
#!/bin/sh -eu
|
|
|
|
image="harbor.intern.drachenfels.de/shieldos/goget"
|
|
version="$(git describe --always --tags --dirty)"
|
|
|
|
buildah bud --layers \
|
|
--build-arg GOPROXY=$GOPROXY \
|
|
--build-arg GONOSUMDB=$GONOSUMDB \
|
|
--build-arg RELEASE=$version \
|
|
-t $image:latest \
|
|
-t $image:$version
|
|
|
|
buildah push $image:latest
|
|
buildah push $image:$version
|