Make linters happy.
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Stanislav Nikitin 2022-06-28 20:16:10 +05:00
parent 996c79e4b4
commit 255496af87
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550
2 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,7 @@ This script assumes that you are already logged in into Gitlab Registry.
Ensure to add global `before_script`:
```
```yaml
before_script:
- apk add bash
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY

View File

@ -62,6 +62,7 @@ function get_amd64_image() {
echo -n "Downloaded, "
# shellcheck disable=SC1083
image_hash=$(docker images -a | grep "^${image_name}" | grep "${image_version}" | awk {' print $3 '})
if ! docker tag "${image_hash}" "${REMOTE_IMAGE}-amd64" &> /dev/null; then
@ -89,6 +90,7 @@ function get_arm64_image() {
echo -n "Downloaded, "
# shellcheck disable=SC1083
image_hash=$(docker images -a | grep "^${image_name}" | grep "${image_version}" | awk {' print $3 '})
if ! docker tag "${image_hash}" "${REMOTE_IMAGE}-arm64" &> /dev/null; then