Skip to content

Repository for building SLATE specific Docker images using GitHub Actions.

Notifications You must be signed in to change notification settings

slateci/docker-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SLATE CI Docker Images

This repository holds the Dockerfiles for SLATE CI-specific container images.

  • Container images will be rebuilt when there is a change to a folder tracked by build_folders.txt.
  • Images in the master branch will automatically receive the 'latest' tag.

Features

  1. Automatically builds and pushes Docker images on changes.
  2. Build failure in one folder will not prevent other builds in other folders.
  3. Encourages Dockerfile best practices with lint, scan etc.
  4. Automatically adds OCI labels to every built Docker image as defined in each Dockerfile.

Adding a New Image

Copy ./examples to a new folder and:

  1. Add the new folder name to build_folders.txt
  2. Update the LABELs in ./<new folder>/Dockerfile using the OpenContainers spec.

Updating an Existing Image

Make your changes to an image (e.g. ./<your folder>/) and increment the org.opencontainers.image.version label in ./<your folder>/Dockerfile. Pushing your changes to master will automatically trigger a new image build.

Pull Requests

When a pull request is made to this repo Dockle lint and Trivy scans will run.

FAQ

Where are containers pushed to?

Containers are currently pushed to OSG Harbor (specifically to the hub.opensciencegrid.org/slate project).

How should I update container dependencies?

Increment the minor number of the org.opencontainers.image.version label in the associated Dockerfile.

Development

GitHub workflow files are stored in .github/workflows.