From 4d9b882a5cfa858e22055a6ce9ce780472ed8f3b Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Sat, 29 Dec 2018 20:52:53 +0100 Subject: [PATCH] Adding doc for build_and_push script --- README-MAINTENANCE.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/README-MAINTENANCE.md b/README-MAINTENANCE.md index f4f90c0..041927e 100644 --- a/README-MAINTENANCE.md +++ b/README-MAINTENANCE.md @@ -12,9 +12,7 @@ All changes in such folders will get overwritten during an update. # Maintenance scripts -There are two important scripts in this repository for maintenance. - -## update.sh +# `update.sh` Creates a directory and the necessary files for each combination of version (2018.05-rc, 3.6, ...) and variant (apache, fpm, fpm-alpine): @@ -31,7 +29,7 @@ versions=( ) ``` -# generate-stackbrew-library.sh +# `generate-stackbrew-library.sh` This file automatically creates a "manifest" for the docker-images. Like: @@ -56,4 +54,12 @@ Architectures: amd64, arm32v6, arm64v8, i386, ppc64le, s390x GitCommit: b46fae917321394e1482df59dc4e39daffbe5c59 Directory: 2018.05-rc/fpm-alpine This is the input-file for the official-images in a later step :-) -``` \ No newline at end of file +``` + +# `build_and_push.sh` + +This file automatically builds and publish all docker image variants (amd64, x86) and versions (stable, latest, dev, ...) + +It uses [bashbrew](https://github.com/docker-library/official-images/tree/master/bashbrew) for building and publishing and `generate-stackbrew-library.sh` for the definition (manifest) what to build and publish. + +See [Instruction format](https://github.com/docker-library/official-images/blob/master/README.md#instruction-format) for more background information. \ No newline at end of file