mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-15 07:38:14 +00:00
9 lines
199 B
Bash
9 lines
199 B
Bash
|
#!/bin/bash
|
||
|
set -ex
|
||
|
VERSION="$(git describe --tags --abbrev=0)"
|
||
|
docker build \
|
||
|
--target production \
|
||
|
--build-arg VERSION=${VERSION} \
|
||
|
-t mikefarah/yq:latest \
|
||
|
-t mikefarah/yq:${VERSION} \
|
||
|
.
|