Skip to content

Keep image up-to-date with its components [Ubuntu base image] #36

Open
@pavlovic-ivan

Description

@pavlovic-ivan

Describe the improvement request

Ubuntu base image should be kept up-to-date in the image

I think that a daily scheduled workflow could be used to check for updates to Ubuntu base, and create a PR with the new version number set in variables.auto.pkrvars.hcl when an update is detected. We may also want to have a workflow running on PRs that builds and tests the image, but does not save it.

Here is how I think the check for updates could be done for each component:

Ubuntu base image
Use gcloud to query for the latest image in the ubuntu-2004-lts family

gcloud compute images list --filter family=ubuntu-2004-lts --format "value(NAME)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions