-
Notifications
You must be signed in to change notification settings - Fork 747
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build discourse/base
and discourse/discourse_test
image for bookworm
#823
Conversation
b0de515
to
a0bf234
Compare
We need to upgrade to bookworm because bullseye is EOL.
a0bf234
to
71c34b4
Compare
else | ||
# Use backports instead of compiling it | ||
apt -y -q install -t bullseye-backports libheif1 libaom-dev libheif-dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
libheif1 libheif-dev
are not part of bullseye-backport
RUN install -d /usr/share/postgresql-common/pgdg &&\ | ||
curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc &&\ | ||
echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt ${DEBIAN_RELEASE}-pgdg main" > /etc/apt/sources.list.d/pgdg.list | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated based on https://www.postgresql.org/download/linux/debian/
@@ -145,6 +190,47 @@ jobs: | |||
docker push discourse/discourse_test:slim | |||
docker push discourse/discourse_test:slim-browsers | |||
docker push discourse/discourse_test:release | |||
test_bookworm: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will only work on the main
branch since the image has not been pushed to Dockerhub
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is also a simplified version of the test job.
@@ -104,6 +104,51 @@ jobs: | |||
run: | | |||
docker tag discourse/base:release${{ steps.arch-helper.outputs.arch_postfix_dash }} discourse/base:aarch64 | |||
docker push discourse/base:aarch64 | |||
base_bookworm: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a simplified version of the base job.
runs-on: ubuntu-20.04${{ ((github.event_name != 'schedule') && '-8core') || '' }} | ||
timeout-minutes: ${{ github.event_name != 'schedule' && 30 }} | ||
steps: | ||
- uses: actions/checkout@v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw, the latest version of checkout is v4. we could add a dependabot config to this repo to bump this stuff for us
Thank you for reviewing @CvX 👍 |
We need to upgrade to bookworm because bullseye is EOL. This commit when merged into branch will push the following images to Docker hub:
discourse/base:slim-bookworm
discourse/base:release-bookworm
discourse/discourse_test:slim-bookworm
discourse/discourse_test:slim-browsers-bookworm
discourse/discourse_test:release-bookworm