prometheus-sql
prometheus-sql copied to clipboard
Docker images are not being built
Seems Docker images are not being built when commit is done on master. Last time it worked was 5 months ago.
@bruth Can you check why it is not built anymore?
@haxorof Appears automated builds on Docker Hub now require a paid account.
Aha, I saw it too now when I looked at my own Docker hub account.
If you would specify the following secrets in the repository settings then it would be possible to build and push via Github Actions. This is what I do in my own repositories since it gives me a bit more control of when to push etc:
- DOCKERHUB_TOKEN
- DOCKERHUB_USERNAME
- DOCKERHUB_PASSWORD
It would then be possible for me to for example add the following in the Github CI and also allow it to push:
- name: Login to DockerHub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
And for updating the description on Docker Hub:
- name: Docker Hub Description
uses: peter-evans/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: dbhi/prometheus-sql
What do you think @bruth ?
Updating the description would require my actual password? That seems odd, no? Can I simply use the same token? If not, can we opt to not automate updating the description since releases don't happen that often?
As a side note, it is obnoxious that Docker Hub only allows for one access token without a paid account 🙄 It does not appear that I can create organization tokens either.
Updating the description would require my actual password? That seems odd, no? Can I simply use the same token? If not, can we opt to not automate updating the description since releases don't happen that often?
Unfortunately it seems that the Docker Hub API does not allow token to be used for updating the description. 🙄 As you say, we can skip the automated update of the description since it is not updated that often.
As a side note, it is obnoxious that Docker Hub only allows for one access token without a paid account 🙄 It does not appear that I can create organization tokens either.
Seems that Docker trying hard to get people to pay these days. Also Docker Desktop they start to charge for if you would use it in an organization.
So what are the options now to get images published?
Seems that Docker trying hard to get people to pay these days. Also Docker Desktop they start to charge for if you would use it in an organization.
Indeed. To be clear, I understand and support the hard decisions they had to make for a viable business model.. but my org doesn't really use Docker Hub much other than a couple open source projects. We host internal registries. We are also a non-profit and after talking with sales, we are not required to pay for a subscription.
As I wrote that, I decided to upgrade myself to the Pro account so I can create more access tokens. However, the permission scope is pretty bad. If I provide a token, the permissions apply to all repos I have access to.
I also saw this which is laughable for small open source projects. We need a service account, but it doesn't seem like its an option for open source.
So what are the options now to get images published?
Need to think more.
I understand, no worries.
Omg! the prices there for service accounts are indeed something which is not viable for small open source projects.
What about pushing the images to ghcr.io? That's free for OS and integrates very cleanly with CI since it's part of the github eco system.