• sample build and push:

    ❯ docker build -t registry.gitlab.com/milohax/hax/ruby:2.7-alpine .
    [+] Building 0.1s (6/6) FINISHED                                                                                                        
     => [internal] load build definition from Dockerfile                                                                               0.0s
     => => transferring dockerfile: 36B                                                                                                0.0s
     => [internal] load .dockerignore                                                                                                  0.0s
     => => transferring context: 2B                                                                                                    0.0s
     => [internal] load metadata for docker.io/library/ruby:2.7-alpine                                                                 0.0s
     => [1/2] FROM docker.io/library/ruby:2.7-alpine                                                                                   0.0s
     => CACHED [2/2] RUN apk add git                                                                                                   0.0s
     => exporting to image                                                                                                             0.0s
     => => exporting layers                                                                                                            0.0s
     => => writing image sha256:562160938386a7ee12fb24f90c53aaac3025f2a27f1b718c454e08fe15db8fb2                                       0.0s
     => => naming to registry.gitlab.com/milohax/hax/ruby:2.7-alpine                                                                   0.0s
    ❯ docker push registry.gitlab.com/milohax/hax/ruby:2.7-alpine
    The push refers to repository [registry.gitlab.com/milohax/hax/ruby]
    0daa3d3aa70e: Pushed 
    333d258d194f: Pushed 
    1fb9e065d0ef: Pushed 
    1b978b0d0693: Pushed 
    b996702fd9a0: Pushed 
    8d3ac3489996: Pushed 
    2.7-alpine: digest: sha256:14a71c696a57bc755a440186fa1debd87fd2effb48ea62a48927acea08fb5859 size: 1576
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment