Skip to content

matti/buildtagpush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

buildtagpush

Image to build, tag and push docker images. Great for Google Cloud Build.

  • BuildKit caching
  • Pulls images needed (otherwise fails on google cloud build with registry mirror, see moby/moby#40262 (comment))
  • Easy to follow output with seconds since beginning

A sample cloudbuild.yaml:

steps:
  - name: mattipaksula/buildtagpush
    env:
      - "REGISTRY=gcr.io/your-project"
      - "IMAGE=your-image"
      - "TAG=[latest]"
      - "CACHE_TAG=[$TAG]"
      - "WORKDIR=[/workspace]"
      - "DOCKERFILE=[Dockerfile]"
      - "BUILD_OPTS=['']"
      - "TRIES=[6]"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published