mirror of
https://github.com/serokell/xrefcheck.git
synced 2024-09-11 21:47:20 +03:00
* Fix docker image upload The previous way of uploading images to dockerhub exposed our password. Prevent this from happening by using a separate script instead of calling skopeo directly. Co-authored-by: Zhenya Vinogradov <zhenyavinogradov@gmail.com>
8 lines
207 B
Bash
Executable File
8 lines
207 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# SPDX-FileCopyrightText: 2021 Serokell <https://serokell.io>
|
|
#
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
skopeo --insecure-policy copy --dest-creds "serokell:${DOCKERHUB_PASSWORD}" "$1" "$2"
|