diff --git a/static/css/quay.css b/static/css/quay.css index 34c5788c0..306322197 100644 --- a/static/css/quay.css +++ b/static/css/quay.css @@ -7,6 +7,15 @@ html, body { height: 100%; } +.tooltip { + word-break: normal !important; + word-wrap: normal !important; +} + +.code-info { + border-bottom: 1px dashed #aaa; +} + .content-container { padding-bottom: 70px; } @@ -831,7 +840,13 @@ p.editable:hover i { .repo .empty-message { padding: 6px; font-size: 1.8em; - color: #ccc; + color: #666; + margin-bottom: 10px; +} + +.repo .empty-description { + max-width: 600px; + padding: 6px; } .repo dl.dl-horizontal dt { @@ -1071,6 +1086,12 @@ p.editable:hover i { padding-left: 44px; } +.repo-admin .right-info { + font-size: 11px; + margin-top: 10px; + text-align: right; +} + .repo-admin .entity-search input { width: 300px; } diff --git a/static/partials/guide.html b/static/partials/guide.html index 4a49eade8..e3af803a6 100644 --- a/static/partials/guide.html +++ b/static/partials/guide.html @@ -3,24 +3,36 @@

User Guide

- -

Pulling a repository from Quay

+

Signing into Quay Setup

-
Note: Private repositories require you to be logged in or the pull will fail. See below for how to sign into Quay if you have never done so before.
- To pull a repository from Quay, run the following command: + To setup your Docker client for pushing to Quay, login with your credentials:

-
docker pull quay.io/username/repo_name
-
-
+
$ sudo docker login quay.io
 
+Login against server at https://quay.io/v1/
+Username: myusername
+Password: mypassword
+Email: my@email.com
+
+

Pushing a repository to Quay Requires Write Access

- First, tag the image with your repository name:

-
docker tag 0u123imageid quay.io/username/repo_name
+ In order to push a repository to Quay, it must be tagged with the quay.io domain and the namespace under which it will live: +

+
sudo docker tag 0u123imageid quay.io/username/repo_name

- Second, push the repository to Quay:

-
docker push quay.io/username/repo_name
+ Once tagged, the repository can be pushed to Quay:

+
sudo docker push quay.io/username/repo_name
+
+
+ +

Pulling a repository from Quay

+
+
Note: Private repositories require you to be logged in or the pull will fail. See above for how to sign into Quay if you have never done so before.
+ To pull a repository from Quay, run the following command: +

+
sudo docker pull quay.io/username/repo_name

@@ -58,15 +70,28 @@
Email
This value is ignored, any value may be used.
- -
-

Signing into Quay Optional

+ +

Using push web hooks Requires Admin Access

- If you have never pushed a repository to Quay and wish to pull a private repository, you can sign into Quay by running the following command: -

-
docker login quay.io
+ A repository can have one or more push web hooks setup, which will be invoked whenever a successful push occurs. Web hooks can be managed from the repository's admin interface. +

A web hook will be invoked + as an HTTP POST to the specified URL, with a JSON body describing the push:

+
+{
+  "pushed_image_count": 2,
+  "name": "ubuntu",
+  "repository":"devtable/ubuntu",
+  "docker_url": "quay.io/devtable/ubuntu",
+  "updated_tags": {
+    "latest": "b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc"
+  },
+  "namespace": "devtable",
+  "visibility": "private",
+  "homepage": "https://quay.io/repository/devtable/ubuntu"
+}
+
diff --git a/static/partials/repo-admin.html b/static/partials/repo-admin.html index bd5eff122..c44504a37 100644 --- a/static/partials/repo-admin.html +++ b/static/partials/repo-admin.html @@ -20,7 +20,7 @@
@@ -148,19 +148,19 @@
-
Push Webhooks - +
Push Web Hooks +
- Loading webhooks: + Loading web hooks:
- + @@ -171,13 +171,13 @@
Webhook URLWeb Hook URL
- +
- + @@ -185,6 +185,10 @@
+ +
+ Quay will POST to these web hooks whenever a push occurs. See the User Guide for more information. +
diff --git a/static/partials/view-repo.html b/static/partials/view-repo.html index 841338da7..b2782c47d 100644 --- a/static/partials/view-repo.html +++ b/static/partials/view-repo.html @@ -57,7 +57,15 @@
-
(This repository is empty)
+
+ This repository is empty +
+ +
+ To push images to this repository:

+
sudo docker tag 0u123imageidgoeshere quay.io/{{repo.namespace}}/{{repo.name}}
+sudo docker push quay.io/{{repo.namespace}}/{{repo.name}}
+