diff options
| author | mo khan <mo.khan@gmail.com> | 2020-08-04 14:51:49 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-08-04 18:18:36 -0600 |
| commit | 4b130604be2dcd96bde5f708e0f4dc91f86bd89b (patch) | |
| tree | b8333834b2be76fdd357a22fcda7212909e32eef /bin/docker-pull | |
| parent | ed6e39123472fecf4eb8fef1e75db28a3b4d1ff2 (diff) | |
Build debian packages for tools
Diffstat (limited to 'bin/docker-pull')
| -rwxr-xr-x | bin/docker-pull | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/docker-pull b/bin/docker-pull new file mode 100755 index 0000000..aced17d --- /dev/null +++ b/bin/docker-pull @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +cd "$(dirname "$0")/.." + +IMAGE_NAME=${IMAGE_NAME:-$(basename "$PWD"):latest} +LATEST_IMAGE=registry.gitlab.com/gitlab-org/security-products/license-management:latest + +docker pull $LATEST_IMAGE +docker tag $LATEST_IMAGE "$IMAGE_NAME" |
