Skip to content
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

Enable Ubuntu Pro in docker images #49

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Commits on Jun 27, 2023

  1. Enable Ubuntu Pro in docker images

    Build docker images with Ubuntu Pro to get relevant security fixes.
    
    If a non-commented "token:" line exists in the secret but the attachment
    fails, the build will error. However if no token exists it will not
    error and build without Ubuntu Pro. This is to ensure the GitHub action
    fails if the token becomes invalid but also allows for local development
    without a token.
    
    For local builds, the file pro-attach-config.yaml is used. Set a token
    to build with Ubuntu Pro.
    
    For GitHub actions, create a secret called PRO_ATTACH_CONFIG with the
    same contents as as pro-attach-config.yaml file.
    
    Closes: canonical#48
    lathiat committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    043874f View commit details
    Browse the repository at this point in the history