This repo contains Docker images which are used in other repos, such as the firmware repo, for various purposes.
- Make the desired changes, commit, and push
- Build the image, applying the relevant tags
eg.docker build -t <container name>:latest -t <container name>:v0.0.0 .
note: the container name here should include the repository path, e.g.ghcr.io/concordia-fsae/containers/ubuntu-jammy-2022.04.21
- Authenticate to the GitHub Container Registry using a Personal Access Token (classic)
(see here for more details) using
docker login ghcr.io -u <username>
providing your PAT when prompted for a password - Push the image
eg.docker push -a ghcr.io/concordia-fsae/containers/<container name>