Skip to content

senasi/docker-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-builder

Docker image used to build other docker images

Available tools & scripts

git-log-diff

Print list of commit messages between GIT_TAG and previous non-pre (ie tag without dash) version.

usage:

git-log-diff GIT_TAG

gitlab-build-docker-image

usage:

gitlab-build-docker-image Dockerfile registry-image/ref:tag registry-cache-image/ref:tag

If not specified, will use Gitlab's $CI_REGISTRY_IMAGE variable for image and $CI_REGISTRY_IMAGE/buildcache for cache

setup-ssh

This script will install private key (via ssh-agent) and optionally write contents of ~/.ssh/known_hosts file.

usage:

eval $(setup-ssh "BASE64_ENCODED_PRIVATE_KEY" ["CONTENT_OF_KNOWN_HOSTS_FILE"]) 
  • we need to use eval to export variables from ssh-agent to outer shell
  • script will use following environment variables if arguments are missing:
    • SSH_PRIVATE_KEY_BASE64
    • SSH_KNOWN_HOSTS

release-cli

Gitlab's own Release Command Line

The Release CLI is a command-line tool for managing GitLab Releases from the command line or from the GitLab CI/CD configuration file, .gitlab-ci.yml.

see: https://docs.gitlab.com/ee/user/project/releases/#release-command-line

About

Image with docker+buildx used in CI/CD builds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published