You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some container builds may use parent images from registries that require authentication, for example, `registry.redhat.io`. Until these credentials have been configured, the builds will continue to fail due to the system being unable to pull the required images.
@@ -47,6 +54,61 @@ Some container builds may use parent images from registries that require authent
47
54
. Enter the password for the registry in **Password**.
48
55
. Click **Add secret**.
49
56
57
+
== Example of creating a quay.io secret
58
+
. Login to Konflux console your workspace (https://console.redhat.com/application-pipeline/workspaces/<your workspace>/applications)
59
+
. Click on `Secrets` on the left menu.
60
+
. Click on `Add Secret`
61
+
. Choose `Image pull secret` for `Secret type`
62
+
. Enter `Secret name` , for example `my-quay-secret`
63
+
. Choose `Image registry credentials` in `Authentication type` field
64
+
. Enter `quay.io` in `Registry server address`
65
+
. Enter your Quay.io username in `Username`
66
+
. Enter your Quay.io API token in `Password` field.
67
+
. Click on `Add secret`
68
+
. Email is optional
69
+
70
+
Once all is information is valid and adding secret successful you can see it appears in the secrets list,
71
+
Here is the yaml file of the secret looks like:
72
+
73
+
74
+
[source,yaml]
75
+
----
76
+
apiVersion: v1
77
+
data:
78
+
.dockerconfigjson: <your base64 generated token>
79
+
kind: Secret
80
+
metadata:
81
+
creationTimestamp: "2025-01-28T17:45:04Z"
82
+
name: my-quay-secret
83
+
namespace: <your workspace- tenant>
84
+
resourceVersion: "3088423929"
85
+
uid: 4af266b0-c63a-4aed-b808-a29cbd0cadfe
86
+
type: kubernetes.io/dockerconfigjson
87
+
88
+
----
89
+
90
+
In below an example how to use the secret within a Tekton task
0 commit comments