Some checks are pending
CI/CD Pipeline (Fully Isolated DinD) / Run Tests (DinD) (push) Waiting to run
CI/CD Pipeline (Fully Isolated DinD) / Build and Push Docker Images (DinD) (push) Blocked by required conditions
CI/CD Pipeline (Fully Isolated DinD) / Deploy to Production (push) Blocked by required conditions
25 lines
No EOL
478 B
Caddyfile
25 lines
No EOL
478 B
Caddyfile
|
|
(registry_auth) {
|
|
basicauth {
|
|
{env.REGISTRY_USERNAME} {env.REGISTRY_PASSWORD_HASH}
|
|
}
|
|
}
|
|
|
|
https://registry.example.com {
|
|
import registry_auth
|
|
reverse_proxy registry:5000
|
|
header {
|
|
X-Content-Type-Options nosniff
|
|
}
|
|
|
|
@push method POST PUT PATCH DELETE
|
|
handle @push {
|
|
import registry_auth
|
|
reverse_proxy registry:5000
|
|
}
|
|
|
|
@pull method GET HEAD OPTIONS
|
|
handle @pull {
|
|
reverse_proxy registry:5000
|
|
}
|
|
} |