Prevent auth header to be included in Docker API call
See gh-42910
This commit is contained in:
parent
9d6cfba278
commit
351018ea65
|
|
@ -18,6 +18,7 @@ package org.springframework.boot.buildpack.platform.docker.configuration;
|
|||
|
||||
import java.util.Base64;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||
|
||||
import org.springframework.boot.buildpack.platform.json.SharedObjectMapper;
|
||||
|
|
@ -30,6 +31,7 @@ import org.springframework.boot.buildpack.platform.json.SharedObjectMapper;
|
|||
*/
|
||||
class JsonEncodedDockerRegistryAuthentication implements DockerRegistryAuthentication {
|
||||
|
||||
@JsonIgnore
|
||||
private String authHeader;
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue