Home Explore Blog Models CI



docker

4th chunk of `content/manuals/docker-hub/repos/manage/hub-images/oci-artifacts.md`
26022e552cd4bb86942dd4676b56a43ab7780c3d9b53454a000000010000017e


### Push a generic artifact file

The following procedure shows how to push a generic OCI artifact to Docker Hub.

Prerequisites:

- ORAS CLI version 0.15 or later

Steps:

1. Create your artifact file.

   ```console
   $ touch myartifact.txt
   ```

2. Sign in to Docker Hub using the ORAS CLI.

   ```console

Title: Pushing a Generic OCI Artifact to Docker Hub
Summary
This section describes how to push a generic OCI artifact to Docker Hub using the ORAS CLI. The process includes creating an artifact file and signing in to Docker Hub.