transfer_middleware/sh/build.sh

9 lines
180 B
Bash

#!/bin/bash
source ./config.sh
docker build -t "${IMAGE}:${VERSION}" . --no-cache
docker tag "${IMAGE}:${TAGS_NAME}" ${ADDRESS}:${TAGS_NAME}
docker push ${ADDRESS}:${TAGS_NAME}