Skip to content

Commit

Permalink
Update Publish-UnpublishedImage.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamdsheth authored Apr 27, 2024
1 parent be4e6a9 commit 8ced476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Publish-UnpublishedImage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ $moduleVersions | % {
$plainStringPassword = [System.Net.NetworkCredential]::new("", $DOCKER_PASSWORD).Password;
docker login -u $DOCKER_USERNAME -p "$plainStringPassword";
docker push $DOCKER_ORG/$DOCKER_IMAGE_NAME`:$imageVersion;
if ( $baseImageSuffix -eq "alpine-3.16") {
if ( $baseImageSuffix -eq "alpine-3.17") {
docker image tag $DOCKER_ORG/$DOCKER_IMAGE_NAME`:$imageVersion $DOCKER_ORG/$DOCKER_IMAGE_NAME`:latest;
docker push $DOCKER_ORG/$DOCKER_IMAGE_NAME`:latest;
}
Expand Down

0 comments on commit 8ced476

Please sign in to comment.