apptainer/builders/cloud/buildstep/cloudbuild.yaml (10 lines of code) (raw):

# In this directory, run the following command to build this builder. # $ gcloud builds submit . --config=cloudbuild.yaml steps: - name: 'gcr.io/cloud-builders/docker' args: - 'build' - '-t' - 'gcr.io/$PROJECT_ID/apptainer:latest' - '.' images: - 'gcr.io/$PROJECT_ID/apptainer:latest' tags: ['cloud-builders-community']