Skip to content
Snippets Groups Projects
Commit d054b9ea authored by Andri Joos's avatar Andri Joos :blush:
Browse files

add multi tag support

parent 82464ac9
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,6 @@ variables:
- $DOCKER_LOGIN_CMD
- $DOCKER_PREPARE_CMD
- $DOCKER_BUILDX_CREATE_CMD
- docker buildx build $IMAGE_PATH --tag $IMAGE_NAME --platform $DOCKER_BUILDX_PLATFORMS --builder $DOCKER_BUILDX_CONTEXT_NAME --push --build-arg IMAGE_SERVER="$IMAGE_SERVER"
- docker buildx build $IMAGE_PATH $(echo $IMAGE_NAME | awk -F',' '{for (i=1; i<=NF; i++) printf "--tag %s ", $i}') --platform $DOCKER_BUILDX_PLATFORMS --builder $DOCKER_BUILDX_CONTEXT_NAME --push --build-arg IMAGE_SERVER="$IMAGE_SERVER"
- $DOCKER_BUILDX_DELETE_CMD
- $DOCKER_LOGOUT_CMD
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment