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.
- Host: GitHub
- URL: https://github.com/theohbrothers/test-dockerimagevariants
- Owner: theohbrothers
- License: apache-2.0
- Created: 2023-09-06T00:14:17.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-02-24T08:33:19.000Z (over 1 year ago)
- Last Synced: 2025-02-24T09:30:39.554Z (over 1 year ago)
- Topics: generate-dockerimagevariants, test
- Language: Dockerfile
- Homepage:
- Size: 171 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# test-dockerimagevariants
[](https://github.com/theohbrothers/test-dockerimagevariants/actions)
[](https://github.com/theohbrothers/test-dockerimagevariants/releases/)
[](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`.