create-docker-image.shmodifié en ligne avec Bitbucket
This commit is contained in:
parent
92ec5ea116
commit
c5024d254c
@@ -16,7 +16,7 @@ function main() {
|
|||||||
|
|
||||||
{
|
{
|
||||||
echo "Generating Docker image '${image_tag}'" && \
|
echo "Generating Docker image '${image_tag}'" && \
|
||||||
docker build -t "${image_tag}" --build-arg "version=${image_version}" --build-arg "revision=${image_revision}" --build-arg "tag=${image_tag}" "${basedir}/ci/assets/" && \
|
docker build -t "${image_tag}" --build-arg "version=${image_version}" --build-arg "revision=${image_revision}" --build-arg "tag=${image_tag}" "${basedir}/ci/asset/" && \
|
||||||
echo "Pushing Docker image '${image_tag}'" && \
|
echo "Pushing Docker image '${image_tag}'" && \
|
||||||
docker push "${image_tag}"
|
docker push "${image_tag}"
|
||||||
} || {
|
} || {
|
||||||
|
|||||||
Reference in New Issue
Block a user