Code Monkey home page Code Monkey logo

Comments (21)

alexxkn avatar alexxkn commented on July 4, 2024 2

I would like to pay your attention that building of new releases in official version of Rocket chat are still not working.
You can check this yourself: https://hub.docker.com/_/rocket-chat?tab=tags
Herewith you can see that versions in github are changing, while compilations are not running. Could you pls fix it?

from docker.official.image.

northway avatar northway commented on July 4, 2024 1

Can you trigger the release again? I would like to upgrade our instances to 3.X...

from docker.official.image.

pierreozoux avatar pierreozoux commented on July 4, 2024

@geekgonecrazy the best way would be to merge both repos I guess.

from docker.official.image.

geekgonecrazy avatar geekgonecrazy commented on July 4, 2024

cc: @sampaiodiego

Yes this is exactly what i'm wondering if could be possible.

Do you have any details of how the build is triggered? Would be amazing if we could tie directly into our release process.

from docker.official.image.

tianon avatar tianon commented on July 4, 2024

Hey, sorry for missing this earlier -- I think https://github.com/docker-library/official-images is the best place to get back up to speed on what the Official Images process is. The only additional bit above what's documented there that this repository has is @docker-library-bot running ./update.sh periodically and auto-committing the result (assuming it builds successfully afterwards) and me periodically including those bumps in my own PRs to https://github.com/docker-library/official-images for the images we maintain.

We'd certainly appreciate this repository/image getting more attention and active maintenance than it current does. 👍 🎉

(cc @yosifkit for visibility)

from docker.official.image.

geekgonecrazy avatar geekgonecrazy commented on July 4, 2024

If i'm understanding this correctly.

  1. In our CI check out: https://github.com/docker-library/official-images
  2. Modify our file like done here:
    https://github.com/RocketChat/Docker.Official.Image/blob/master/generate-stackbrew-library.sh additionally adding:
Directory: .docker/official
  1. Then push to a fork
  2. Open a PR and mention us so we can make sure the build succeeds

@sampaiodiego that sound accurate? We already do this for our snaps

from docker.official.image.

sampaiodiego avatar sampaiodiego commented on July 4, 2024

@geekgonecrazy so the idea is to remove this repo and use only our main one? to do so we would then move all files from here to a folder .docker/official there, which will then contain the Dockerfile and the README.md as the content for https://hub.docker.com/_/rocketchat/

is that the plan? I thought we actually need a new repo to host the official image.

from docker.official.image.

tianon avatar tianon commented on July 4, 2024

It doesn't have to be a separate repo, but if you put it in your main repo and couple it tightly with your main release process then it usually becomes harder to make non-release-related changes (script fixes/updates, pecl updates, etc) between releases of the main product.

from docker.official.image.

tianon avatar tianon commented on July 4, 2024

(Also, in our review, we review the whole "context" of the image, so please don't put it at the root of the main source repo and use COPY . /..., since we really don't want to be reviewing changes to Rocket.Chat's internal code -- we're focused on the Dockerization 😅)

from docker.official.image.

geekgonecrazy avatar geekgonecrazy commented on July 4, 2024

@geekgonecrazy so the idea is to remove this repo and use only our main one? to do so we would then move all files from here to a folder .docker/official there, which will then contain the Dockerfile and the README.md as the content for https://hub.docker.com/_/rocketchat/
is that the plan? I thought we actually need a new repo to host the official image.

I'm not sure... 🤔 I didn't realize the requirement of only depending on other official images. Maybe instead we just bump this repo from our CI instead. Since we have no choice but to maintain 2 different docker images 😶

from docker.official.image.

sampaiodiego avatar sampaiodiego commented on July 4, 2024

Maybe instead we just bump this repo from our CI instead

we might need to do this.. for some reason @docker-library-bot didn't run the past two releases. @tianon do you happen to know why? tia

from docker.official.image.

yosifkit avatar yosifkit commented on July 4, 2024

It didn't run because the access for @docker-library-bot to push was revoked so we removed the job: docker-library/oi-janky-groovy@c1d73ec

from docker.official.image.

rodrigok avatar rodrigok commented on July 4, 2024

@yosifkit I've added @docker-library-bot back with write permissions. Can you add the job back?

from docker.official.image.

northway avatar northway commented on July 4, 2024

There are no new image tags on Docker hub since the 2.4.1 release. Any update on this issue?

from docker.official.image.

sampaiodiego avatar sampaiodiego commented on July 4, 2024

sorry @northway .. this is a two step process: update this repo and open a PR to official docker images.. but I missed the second part.. it is done now docker-library/official-images#7452 just need to wait for them to merge.

we still need to automate this process though

from docker.official.image.

tianon avatar tianon commented on July 4, 2024

@yosifkit I've added @docker-library-bot back with write permissions. Can you add the job back?

Doh sorry, I think this failed due to the same reason it got kicked off in the first place -- it's a bot, so 2FA is a bit complicated (so it can't actually accept the invite).

from docker.official.image.

rodrigok avatar rodrigok commented on July 4, 2024

@tianon any idea on how to handle this?

from docker.official.image.

tianon avatar tianon commented on July 4, 2024

Using @docker-library-bot, I'm not sure, but you should be able to accomplish something very similar using GitHub Actions or Travis -- it just runs ./update.sh followed by the official images tests and if successful, commits and pushes the result.

from docker.official.image.

tianon avatar tianon commented on July 4, 2024

In this case, I think making sure docker build is successful after ./update.sh is probably plenty to be sure the new version is available and ~working.

from docker.official.image.

snoopotic avatar snoopotic commented on July 4, 2024

Yeah,
If you merge #104 before, the image would be more rock(et)solid 😜

from docker.official.image.

northway avatar northway commented on July 4, 2024

I'm already on the verge of making my own CD pipeline.

from docker.official.image.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.