modified: .gitea/workflows/image-deploy.yaml
This commit is contained in:
@@ -26,13 +26,14 @@ jobs:
|
|||||||
- name: run buildctl build and push
|
- name: run buildctl build and push
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
||||||
USER='${{ secrets.OCI_LIMBO_REGISTRY_DEVCONTAINERS_USERNAME }}'
|
USER='${{ secrets.OCI_LIMBO_REGISTRY_DEVCONTAINERS_USERNAME }}'
|
||||||
PASS='${{ secrets.OCI_LIMBO_REGISTRY_DEVCONTAINERS_PASSWORD }}'
|
PASS='${{ secrets.OCI_LIMBO_REGISTRY_DEVCONTAINERS_PASSWORD }}'
|
||||||
AUTH=$(printf '%s:%s' "$USER" "$PASS" | base64 -w0)
|
AUTH=$(printf '%s:%s' "$USER" "$PASS" | base64 -w0)
|
||||||
cat > "/root/tmp_config.json" <<EOF
|
cat > "/root/tmp_config.json" <<EOF
|
||||||
{
|
{
|
||||||
"auths": {
|
"auths": {
|
||||||
"${{ inputs.registry_addr }}": {
|
"${{ inputs.OCI_LIMBO_REGISTRY_ADDRESS }}": {
|
||||||
"auth": "$AUTH"
|
"auth": "$AUTH"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user