Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12242447
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
929 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/src/DockerHubImage.php b/src/DockerHubImage.php
index 8dcbb50..4b2528d 100644
--- a/src/DockerHubImage.php
+++ b/src/DockerHubImage.php
@@ -1,27 +1,32 @@
<?php
namespace Keruald\DockerHub;
use Keruald\DockerHub\Build\TriggerBuild;
/**
* Represents a DockerHub image.
*/
class DockerHubImage extends DockerImage {
+ /**
+ * Gets the URL to the image on the registry.
+ *
+ * @return string
+ */
public function getRegistryUrl () {
return "https://registry.hub.docker.com/u/$this->user/$this->image";
}
/**
* Gets a trigger build for this image
* to be able to prepare a build trigger payload.
*
* @param string $token The token to authentify the build request
* @return Keruald\DockerHub\Build\TriggerBuild
*/
public function getTriggerBuild ($token) {
return new TriggerBuild($this, $token);
}
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Oct 12, 09:02 (10 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3065599
Default Alt Text
(929 B)
Attached To
Mode
rKDOCKERHUB Keruald Docker Hub
Attached
Detach File
Event Timeline
Log In to Comment