mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-28 02:19:35 +00:00
* Go builds should not require sudo. Docker builds should unless it has been given root group permissions, which is not recommended. Keep Go binary and Docker builds separate.
8 lines
150 B
Bash
Executable File
8 lines
150 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
REPO=coreos/bootcfg
|
|
GIT_SHA=$(./git-version)
|
|
|
|
docker build -q --rm=true -t $REPO:$GIT_SHA .
|
|
docker tag -f $REPO:$GIT_SHA $REPO:latest
|