Skip to content

Commit

Permalink
Fix change SDK_IMAGE_TAG to IMAGE_TAG (#12)
Browse files Browse the repository at this point in the history
* Fix  change SDK_IMAGE_TAG to IMAGE_TAG

* Fix source image tag 8.0.0-preview.2.23153.2-bookworm-slim => 8.0-preview-bookworm-slim

* Add branch fix/*

* Try re-enable jammy-chiseled

* Revert "Try re-enable jammy-chiseled"

This reverts commit 18271e4.
  • Loading branch information
thohng authored Mar 16, 2023
1 parent 13081f0 commit a0ab8a1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Docker Image CI

on:
push:
branches: ["main", "dev*"]
branches: ["main", "dev*", "dev/*", "fix*", "fix/*"]
tags: ["*.*.*"]

jobs:
Expand Down
2 changes: 1 addition & 1 deletion docker-build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ foreach ($dockerRepos in $dockerRepository) {
}

$sourceImageTag = $imageTag
if ($imageTagMajor -match '^8\.0\.0-(preview|rc)') {
if ($imageTagMajor -match '^8\.0(\.0)?-(preview|rc)') {
$sourceImageTag = $imageTagMajor
}

Expand Down
4 changes: 2 additions & 2 deletions src/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG SDK_IMAGE_TAG=6.0-alpine
FROM mcr.microsoft.com/dotnet/aspnet:${SDK_IMAGE_TAG} AS base
ARG IMAGE_TAG=6.0-alpine
FROM mcr.microsoft.com/dotnet/aspnet:${IMAGE_TAG} AS base

# Sample dotnet Alpine with ICU https://github.com/dotnet/dotnet-docker/blob/main/samples/dotnetapp/Dockerfile.alpine-x64#L20
ENV SSH_PORT=2222 \
Expand Down
4 changes: 2 additions & 2 deletions src/debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG SDK_IMAGE_TAG=6.0-bullseye-slim
FROM mcr.microsoft.com/dotnet/aspnet:${SDK_IMAGE_TAG} AS base
ARG IMAGE_TAG=6.0-bullseye-slim
FROM mcr.microsoft.com/dotnet/aspnet:${IMAGE_TAG} AS base

ENV SSH_PORT=2222 \
TZ=UTC
Expand Down

0 comments on commit a0ab8a1

Please sign in to comment.