beacon-node-builds: add commit to labels
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
a269c3e490
commit
dd70e0652d
|
@ -52,7 +52,9 @@ find build -name 'nimbus_beacon_node_*' -mtime +7 -exec rm '{}' \+
|
|||
popd
|
||||
|
||||
# Add binary into a simple Alpine image
|
||||
docker build -t "${IMAGE}:${COMMIT_AFTER}" --build-arg=COMMIT=${COMMIT_AFTER} .
|
||||
docker build -t "${IMAGE}:${COMMIT_AFTER}" \
|
||||
--label "commit=${COMMIT_AFTER}" \
|
||||
--build-arg=COMMIT=${COMMIT_AFTER} .
|
||||
docker tag "${IMAGE}:${COMMIT_AFTER}" "${IMAGE}:${TAG}"
|
||||
docker push "${IMAGE}:${TAG}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue