Sign inSign up

theohbrothers/test-dockerimagevariants

By theohbrothers

Updated over 1 year ago

Repository to test Generate-DockerImageVariantsHelpers.

Image
0

10K+

theohbrothers/test-dockerimagevariants repository overview

test-dockerimagevariants

github-actions github-release docker-image-size

Repository to test Generate-DockerImageVariantsHelpers.

Tags

TagDockerfile Build Context
:0.5.1, :latestView
:0.5.1-curlView
:0.4.17View
:0.4.17-curlView
:0.3.17View
:0.3.17-curlView
:0.2.17View
:0.2.17-curlView
:0.1.0View
:0.1.0-curlView

Development

Requires Windows powershell or pwsh.

# 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 contains a list of Semver versions, one per line.

To update versions in versions.json:

./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:

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

To perform a dry run, use -WhatIf.

Tag summary

Content type

Image

Digest

sha256:4e1a80f5c

Size

3.8 MB

Last updated

over 1 year ago

docker pull theohbrothers/test-dockerimagevariants:20250224.0.0-cc91597-0.1.0-curl