mirror of
https://github.com/serokell/xrefcheck.git
synced 2024-10-26 15:35:29 +03:00
aee39ef06e
* 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"
|