Skip to content

Commit 3e701e2

Browse files
authored
feat: add microsoft container cache (#124)
1 parent 20ee240 commit 3e701e2

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/actions/pr-container/action.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ runs:
9595
mirrors = ["https://harbor.ukserp.ac.uk/quaycache"]
9696
[registry."ghcr.io"]
9797
mirrors = ["https://harbor.ukserp.ac.uk/ghcrcache"]
98+
[registry."mcr.microsoft.com"]
99+
mirrors = ["https://harbor.ukserp.ac.uk/microsoftcache"]
98100
99101
- name: login to container registry
100102
uses: docker/login-action@v3

.github/actions/release-container/action.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ runs:
145145
mirrors = ["https://harbor.ukserp.ac.uk/quaycache"]
146146
[registry."ghcr.io"]
147147
mirrors = ["https://harbor.ukserp.ac.uk/ghcrcache"]
148+
[registry."mcr.microsoft.com"]
149+
mirrors = ["https://harbor.ukserp.ac.uk/microsoftcache"]
148150
149151
- name: login to container registry
150152
uses: docker/login-action@v3

containers/whalesay2/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM docker/whalesay
1+
FROM mcr.microsoft.com/dotnet/aspnet:7.0

0 commit comments

Comments
 (0)