Sha256: b5ede7f6f03f95706b03e3014c47fefd2663701f15a6bd6a13c82bd55e736aeb
Contents?: true
Size: 652 Bytes
Versions: 4
Compression:
Stored size: 652 Bytes
Contents
#!/bin/bash -eu # Push the 'cli:5' image to Dockerhub when on the 'master' branch cd "$(git rev-parse --show-toplevel)" IMAGE='cyberark/conjur-cli' function tag_and_push() { local image="$1" local tag="$2" local description="$3" echo "TAG = $tag, $description" docker tag "$image" "$image:$tag" docker push "$image:$tag" } version_tag="5-$(cat VERSION)" tag_and_push $IMAGE '5' 'latest image' tag_and_push $IMAGE '5-latest' 'same as "5"' tag_and_push $IMAGE $version_tag 'version-specific image' # push to legacy `conjurinc/cli5` tag docker tag "$IMAGE" conjurinc/cli5:latest docker push conjurinc/cli5:latest
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
conjur-cli-6.2.1 | push-image |
conjur-cli-6.2.0 | push-image |
conjur-cli-6.1.0 | push-image |
conjur-cli-6.0.1 | push-image |