# Linked package not showing up in repo

**URL:** <https://forum.gitea.com/t/linked-package-not-showing-up-in-repo/6105>\
**Category:** Install/Maintain/Configure\
**Created:** [October 21, 2022, 2:08am UTC](https://forum.gitea.com/t/linked-package-not-showing-up-in-repo/6105 "2022-10-21T02:08:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkebler](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/dkebler/32/333_2.png) [@dkebler](https://forum.gitea.com/u/dkebler)\
**Post date:** [October 21, 2022, 2:08am UTC](https://forum.gitea.com/t/linked-package-not-showing-up-in-repo/6105/1 "2022-10-21T02:08:05Z")

</div>

I have a pushed docker image (package) to a gitea organization. Via the web ui I have linked it to the corresponding repo that built it. When I visit that repo I see no “packages” link as suggested would appear.

Am I missing something? or is this a bug.

Running gitea  
Gitea Version  
1.17.2 built with GNU Make 4.1, go1.18.6 : bindata, sqlite, sqlite\_unlock\_notify

---

<div class="post-metadata">

**Author:** ![lunny](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/lunny/32/4701_2.png) [@lunny](https://forum.gitea.com/u/lunny)\
**Post date:** [October 21, 2022, 3:41am UTC](https://forum.gitea.com/t/linked-package-not-showing-up-in-repo/6105/2 "2022-10-21T03:41:13Z")

</div>

You could enable it in repository settings

---

<div class="post-metadata">

**Author:** ![dkebler](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/dkebler/32/333_2.png) [@dkebler](https://forum.gitea.com/u/dkebler)\
**Post date:** [October 22, 2022, 5:52am UTC](https://forum.gitea.com/t/linked-package-not-showing-up-in-repo/6105/3 "2022-10-22T05:52:02Z")

</div>

Enable what repository settings? Can you be more specific?

if you are looking at a package you can see the link to the linked repo

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/2X/d/daf7c912e7ac18ee3c20ea75957ae910c151b0b6.png)

but

when you are looking at the repo there is no link/tab to any attached packages

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/2X/9/9acf8fe54252417dbe06b22fa79fc0bed8490029.png)

I would expect to see another page tab “packages” (like “issues”) if one or more exist linked to the repo but there is none.

Was this never coded by the packages module?

---

<div class="post-metadata">

**Author:** ![lunny](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/lunny/32/4701_2.png) [@lunny](https://forum.gitea.com/u/lunny)\
**Post date:** [October 27, 2022, 1:51pm UTC](https://forum.gitea.com/t/linked-package-not-showing-up-in-repo/6105/4 "2022-10-27T13:51:36Z")

</div>

click the settings in repository and check `Enable Packages` and save.

---

<div class="post-metadata">

**Author:** ![Stitch10925](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/stitch10925/32/3879_2.png) [@Stitch10925](https://forum.gitea.com/u/Stitch10925)\
**Post date:** [July 13, 2023, 10:02pm UTC](https://forum.gitea.com/t/linked-package-not-showing-up-in-repo/6105/5 "2023-07-13T22:02:20Z")

</div>

@dkebler  
Sorry to hijack your post a bit, but how did you manage to push the image to an organization? I have only managed to push to a “owner” as in a user account.

I would love to push to an organization but when I log in with, let’s say a user called “giteaUser”, and want to push to organization “MyOrg”, then I get an “Authentication Required” message.

---

<div class="post-metadata">

**Author:** ![dkebler](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/dkebler/32/333_2.png) [@dkebler](https://forum.gitea.com/u/dkebler)\
**Post date:** [July 14, 2023, 2:11pm UTC](https://forum.gitea.com/t/linked-package-not-showing-up-in-repo/6105/6 "2023-07-14T14:11:09Z")

</div>

Just substitute your organization name like it was a user name. So the push target is

[mygit.com/myorganization/imagename:sometagoptional](http://mygit.com/myorganization/imagename:sometagoptional)

Then as @lunny says if you want it to be linked to a particular repo you have to enable packages for that repo and the in the packages tab for your organization you have to link that package to that repo by clicking on the settings for that package.

the credentials you need are for the user that has write permission to that organization.

see here about how to “login” using docker cli before trying to push

> <https://stackoverflow.com/questions/34434231/docker-how-to-authenticate-for-docker-push>

personally I have a script that does the pushing and also will login if necessary

---

<div class="post-metadata">

**Author:** ![Stitch10925](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/stitch10925/32/3879_2.png) [@Stitch10925](https://forum.gitea.com/u/Stitch10925)\
**Post date:** [July 17, 2023, 1:37pm UTC](https://forum.gitea.com/t/linked-package-not-showing-up-in-repo/6105/7 "2023-07-17T13:37:35Z")

</div>

Thanks for your swift reply.

The key for me was the following statement:

> the credentials you need are for the user that has write permission to that organization

I did not have the user as part of a team in my organization and was therefore lacking the permissions to upload to the organization.

Thanks!
