This project contains files to support building Docker images for SolarView and its proxy applications.
-
Create a GitLab CI configuration for the SolarView application. Suppose we want to build a Docker image for a SolarView proxy foo-fb:
.gitlab-ci.ymlinclude: remote: 'https://github.com/git-developer/solarview-base/raw/v1.7.0/.gitlab-ci.yml' variables: DOCKERFILE_URL: 'https://github.com/git-developer/solarview-base/raw/v1.7.0/Dockerfile' BUILD_ARGS: 'APP_NAME=foo-fb' IMAGE_TITLE: 'SolarView foo-Proxy' UPDATE_CHECK_URLS: 'http://www.solarview.info/downloads/foo-fb.zip'
-
Build the project with GitLab CI.
-
Optional: to enable the update-check and build automatically on SolarView updates, create a GitLab pipeline schedule with variable
PIPELINE_MODE
set toupdate-check
.
The build will create Docker images for the platforms linux/amd64
, linux/i386
, linux/arm64
, linux/arm/v7
and linux/arm/v6
, add labels, tag them with version and date and publish them to the Docker registry.
-
Examples: