An open API service indexing awesome lists of open source software.

https://github.com/theohbrothers/test-dockerimagevariants

Repository to test Generate-DockerImageVariantsHelpers.
https://github.com/theohbrothers/test-dockerimagevariants

generate-dockerimagevariants test

Last synced: 3 months ago
JSON representation

Repository to test Generate-DockerImageVariantsHelpers.

Awesome Lists containing this project

README

          

# test-dockerimagevariants

[![github-actions](https://github.com/theohbrothers/test-dockerimagevariants/workflows/ci-master-pr/badge.svg)](https://github.com/theohbrothers/test-dockerimagevariants/actions)
[![github-release](https://img.shields.io/github/v/release/theohbrothers/test-dockerimagevariants?style=flat-square)](https://github.com/theohbrothers/test-dockerimagevariants/releases/)
[![docker-image-size](https://img.shields.io/docker/image-size/theohbrothers/test-dockerimagevariants/latest)](https://hub.docker.com/r/theohbrothers/test-dockerimagevariants)

Repository to test [Generate-DockerImageVariantsHelpers](https://github.com/theohbrothers/Generate-DockerImageVariantsHelpers).

## Tags

| Tag | Dockerfile Build Context |
|:-------:|:---------:|
| `:0.5.1`, `:latest` | [View](variants/0.5.1) |
| `:0.5.1-curl` | [View](variants/0.5.1-curl) |
| `:0.4.17` | [View](variants/0.4.17) |
| `:0.4.17-curl` | [View](variants/0.4.17-curl) |
| `:0.3.17` | [View](variants/0.3.17) |
| `:0.3.17-curl` | [View](variants/0.3.17-curl) |
| `:0.2.17` | [View](variants/0.2.17) |
| `:0.2.17-curl` | [View](variants/0.2.17-curl) |
| `:0.1.0` | [View](variants/0.1.0) |
| `:0.1.0-curl` | [View](variants/0.1.0-curl) |

## Development

Requires Windows `powershell` or [`pwsh`](https://github.com/PowerShell/PowerShell).

```powershell
# Install Generate-DockerImageVariants module: https://github.com/theohbrothers/Generate-DockerImageVariants
Install-Module -Name Generate-DockerImageVariants -Repository PSGallery -Scope CurrentUser -Force -Verbose

# Edit ./generate templates

# Generate the variants
Generate-DockerImageVariants .
```

### Variant versions

[versions.json](generate/definitions/versions.json) contains a list of [Semver](https://semver.org/) versions, one per line.

To update versions in `versions.json`:

```powershell
./Update-Versions.ps1
```

To update versions in `versions.json`, and open a PR for each changed version, and merge successful PRs one after another (to prevent merge conflicts), and finally create a tagged release and close milestone:

```powershell
$env:GITHUB_TOKEN = 'xxx'
./Update-Versions.ps1 -PR -AutoMergeQueue -AutoRelease
```

To perform a dry run, use `-WhatIf`.