-
Notifications
You must be signed in to change notification settings - Fork 0
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
Auto-update base docker image #3
Conversation
RUN apt install -y software-properties-common | ||
RUN apt-get install -y git cmake libjemalloc-dev zlib1g-dev | ||
RUN apt-get install -y clang-14 lld-14 libc++-14-dev libc++abi-14-dev | ||
RUN apt-get update && apt-get install -y \ |
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.
with: | ||
base-image: library/ubuntu:22.04 | ||
image: josecols/meta:3.0.2 | ||
- name: Abort |
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.
By aborting this workflow, we signal to the main action, Docker Image CI
, that there are no pending updates and avoid execution.
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.
I updated the default branch to submodule/metapy
.
This PR introduces a new GitHub workflow that checks daily if MeTA's base image (
ubuntu:22.04
) has changes (e.g., security updates). Upon completion, it will trigger the main Docker image build. With this, we are ensuring an up-to-date image version if:One caveat of the new workflow is that the cron scheduler only runs on the default branch. So, we will need to set
submodule/meta
as the main branch or merge all changes tomaster
.