diff --git a/Documentation/howto/testing.md b/Documentation/howto/testing.md index a4f644b7b6..729e93c620 100644 --- a/Documentation/howto/testing.md +++ b/Documentation/howto/testing.md @@ -62,17 +62,11 @@ Creating an account named `admin` will ensure you are a super user. An email is required, but is not validated. You'll also need to create a namespace. -The easiest way to push to Quay is using podman: +To push to Quay, you'll need to exec into the skopeo container: +```sh +podman exec -it quay-skopeo /usr/bin/skopeo copy --dst-creds ':' --dst-tls-verify=false clair-quay:8080//: ``` -podman pull ubuntu:latest -podman login --tls-verify=false localhost:8443 # use account created in above steps -podman tag ubuntu:latest localhost:8443//:latest -podman push --tls-verify=false localhost:8443//:latest -``` - -Using docker to push is possible, however you will need to add "localhost:8443" as an insecure repository. -See [Insecure Repository](https://docs.docker.com/registry/insecure/) ## Viewing Results diff --git a/docker-compose.yaml b/docker-compose.yaml index d5b544112f..b13865c912 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -12,6 +12,7 @@ x-anchors: quay: &quay-image quay.io/projectquay/quay:latest redis: &redis-image docker.io/library/redis:6.2 go: &go-image quay.io/projectquay/golang:1.17 + skopeo: &skopeo-image quay.io/skopeo/stable:latest clair-service: &clair-service image: *go-image depends_on: @@ -195,3 +196,11 @@ services: - quay environment: CLAIR_MODE: "notifier" + skopeo: + container_name: quay-skopeo + profiles: + - quay + image: *skopeo-image + entrypoint: + - sleep + - inf