Added multi-tag Dockerhub image configuration
This commit is contained in:
parent
4fcd7bddc9
commit
382274c854
|
@ -1,7 +1,6 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
pwd > pwd_file
|
||||
find / > build.files
|
||||
set > build.env
|
||||
|
||||
docker build --build-arg=TOKEN="${Token}" -t $IMAGE_NAME .
|
||||
#!/bin/bash
|
||||
docker build --build-arg TOKEN="$Token" -t "$IMAGE_NAME" .
|
||||
docker build --build-arg TOKEN="$Token" --build-arg WITHOUT_PYTHON="false" -t "$DOCKER_REPO:python" .
|
||||
docker build --build-arg TOKEN="$Token" --build-arg WITHOUT_JAVA="false" -t "$DOCKER_REPO:java" .
|
||||
docker build --build-arg TOKEN="$Token" --build-arg WITHOUT_PERL="false" -t "$DOCKER_REPO:perl" .
|
||||
docker build --build-arg TOKEN="$Token" --build-arg WITHOUT_PERL="false" --build-arg WITHOUT_PYTHON="false" --build-arg WITHOUT_JAVA="false" -t "$DOCKER_REPO:full" .
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
docker push "$DOCKER_REPO:python"
|
||||
docker push "$DOCKER_REPO:java"
|
||||
docker push "$DOCKER_REPO:perl"
|
||||
docker push "$DOCKER_REPO:full"
|
Loading…
Reference in New Issue