Comments (1)
This will happen if you're using the GitLab documentation as written, with IMAGE: $CI_PROJECT_PATH
(which is <namespace>/<project>
, and not actually correct). Reg resolves this properly, but it should be IMAGE: $CI_REGISTRY_IMAGE
(or whatever the image name is, including the $CI_REGISTRY
domain), which is the complete name of the repository.
With that, the reg output is as expected:
$ reg rm -d --auth-url "$CI_REGISTRY" -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY_IMAGE/tmp:$CI_PIPELINE_ID"
time="2023-12-26T18:19:36Z" level=info msg="domain: registry.gitlab.com"
time="2023-12-26T18:19:36Z" level=info msg="server address: registry.gitlab.com"
2023/12/26 18:19:36 registry.ping url=https://registry.gitlab.com/v2/
2023/12/26 18:19:36 registry.manifests.get url=https://registry.gitlab.com/v2/gitlab-ci-utils/curl-jq/tmp/manifests/1119548976 repository=gitlab-ci-utils/curl-jq/tmp ref=1119548976
2023/12/26 18:19:37 registry.manifests.delete url=https://registry.gitlab.com/v2/gitlab-ci-utils/curl-jq/tmp/manifests/sha256:559385d098c393708b4417c58e7905fd91bbb6bc69437ce2d7905d46a55d6578 repository=gitlab-ci-utils/curl-jq/tmp digest=sha256:559385d098c393708b4417c58e7905fd91bbb6bc69437ce2d7905d46a55d6578
Deleted registry.gitlab.com/gitlab-ci-utils/curl-jq/tmp:1119548976@sha256:559385d098c393708b4417c58e7905fd91bbb6bc69437ce2d7905d46a55d6578
from reg.
Related Issues (20)
- Tests don't pass after cloning and running make test HOT 3
- Support to pass Client CERT/Key and CA CERT HOT 2
- Manifest Lists incorrectly queried from Docker Hub HOT 1
- Can't run clean install using go modules HOT 2
- registry type HOT 2
- Reg leaving lot of openfiles on the registry HOT 1
- behavior of ping is against Docker v2 API Spec HOT 2
- reg server update interval HOT 1
- `reg rm` deletes more than just the specified tag HOT 5
- Add pagination support for tag listing
- clair.layer400 Bad Request: "vulnerability scanning for <image> failed: clair error: could not find layer" HOT 2
- vulns return invalid character '<' HOT 1
- Docs don't explain how to manage insecure private registry HOT 3
- Why this project has no documents about how to use its API (import) ?
- Add option to map digest to tag
- RSS or Atom feed for repository tags
- go install gives error HOT 1
- reg dont use /etc/hosts
- Add support for reading credential from podman's auth.json
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reg.