#! /bin/bash

go build -ldflags "-linkmode external -extldflags -static"
docker build -t caiopo/raft .
rm raft
docker push caiopo/raft

#! /bin/bash

go build -ldflags "-linkmode external -extldflags -static"
docker build -t caiopo/raft:latest .
rm raft
docker push caiopo/raft:latest

Change build script image tag
Change build script image tag
