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