docker hub #1

Closed
opened 2024-06-12 21:41:39 +02:00 by djmil · 1 comment
Owner

Use docker hub as a storage for gitea-pages image, so it can be later used as another service inside Gitea .yaml

  1. Create public (?) docker hub account
  2. Build stage (dev machine)
    1.1. Build image
    1.2. Push image to the docker hub
  3. Deployment stage (most likely BB8)
    2.1. Pull image from the docker hub
    2.2. Build entire Gitea application (Gitea, Gitea-pages, DB)
Use docker hub as a storage for gitea-pages image, so it can be later used as another service inside Gitea .yaml 0. Create public (?) docker hub account 1. Build stage _(dev machine)_ 1.1. Build image 1.2. Push image to the docker hub 2. Deployment stage _(most likely BB8)_ 2.1. Pull image from the docker hub 2.2. Build entire Gitea application _(Gitea, Gitea-pages, DB)_
djmil added the
design
label 2024-06-12 21:41:39 +02:00
Author
Owner

$ cat Dockerfile

FROM busybox
CMD ["echo", "Hello DockerHub registry!"]

$ docker login -u djmil # docker login into the dockerhub

Password: *** # Proton Pass
Login Succeeded

$ docker build -t djmil/test:v0.0.1 .

$ docker push djmil/test:v0.0.1
The push refers to repository [docker.io/djmil/test]

https://hub.docker.com/repository/docker/djmil/test/general

$ cat Dockerfile >FROM busybox >CMD ["echo", "Hello DockerHub registry!"] $ docker login -u djmil # docker login into the dockerhub >Password: *** # Proton Pass >Login Succeeded $ docker build -t djmil/test:v0.0.1 . $ docker push djmil/test:v0.0.1 The push refers to repository [docker.io/djmil/test] https://hub.docker.com/repository/docker/djmil/test/general
djmil closed this issue 2024-06-23 14:43:51 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: djmil/gitea-pages#1
No description provided.