Skip to content

Commit

Permalink
add aspnet
Browse files Browse the repository at this point in the history
  • Loading branch information
imxieke committed Apr 28, 2024
1 parent e870d1d commit ab4e721
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
- name: Build the Docker image
run: |
for tag in ${IMAGE_TAGS}; do
docker build . -f images/${{ env.IMAGE_NAME }}/${tag}/Dockerfile -t ${{ vars.DOCKER_REGISTRY }}/dockenv/${{ env.IMAGE_NAME }}:${tag}
docker build . -f images/dotnet/${tag}/Dockerfile -t ${{ vars.DOCKER_REGISTRY }}/dockenv/dotnet:${tag}
docker build . -f images/aspnet/${tag}/Dockerfile -t ${{ vars.DOCKER_REGISTRY }}/dockenv/aspnet:${tag}
done
docker tag ${{ vars.DOCKER_REGISTRY }}/dockenv/${{ env.IMAGE_NAME }}:6 ${{ vars.DOCKER_REGISTRY }}/dockenv/${{ env.IMAGE_NAME }}:latest
- name: Login to Docker Registry
run: |
Expand All @@ -31,6 +31,6 @@ jobs:
- name: Push Docker Image
run: |
for tag in ${IMAGE_TAGS}; do
docker push ${{ vars.DOCKER_REGISTRY }}/dockenv/${{ env.IMAGE_NAME }}:${tag}
docker push ${{ vars.DOCKER_REGISTRY }}/dockenv/dotnet:${tag}
docker push ${{ vars.DOCKER_REGISTRY }}/dockenv/aspnet:${tag}
done
docker push ${{ vars.DOCKER_REGISTRY }}/dockenv/${{ env.IMAGE_NAME }}:latest
7 changes: 7 additions & 0 deletions images/aspnet/6/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM mcr.microsoft.com/dotnet/aspnet:6.0-alpine

LABEL org.opencontainers.image.title="aspnet" \
org.opencontainers.image.authors="Cloudflying <[email protected]>" \
org.opencontainers.image.source="https://github.com/dockenv/dockenv-images" \
org.opencontainers.image.url="https://github.com/dockenv" \
org.opencontainers.image.description='an open-source and cross-platform framework for building modern cloud-based internet-connected applications.'
7 changes: 7 additions & 0 deletions images/aspnet/7/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM mcr.microsoft.com/dotnet/aspnet:7.0-alpine

LABEL org.opencontainers.image.title="aspnet" \
org.opencontainers.image.authors="Cloudflying <[email protected]>" \
org.opencontainers.image.source="https://github.com/dockenv/dockenv-images" \
org.opencontainers.image.url="https://github.com/dockenv" \
org.opencontainers.image.description='an open-source and cross-platform framework for building modern cloud-based internet-connected applications.'
7 changes: 7 additions & 0 deletions images/aspnet/8/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine

LABEL org.opencontainers.image.title="aspnet" \
org.opencontainers.image.authors="Cloudflying <[email protected]>" \
org.opencontainers.image.source="https://github.com/dockenv/dockenv-images" \
org.opencontainers.image.url="https://github.com/dockenv" \
org.opencontainers.image.description='an open-source and cross-platform framework for building modern cloud-based internet-connected applications.'
7 changes: 7 additions & 0 deletions images/aspnet/9/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM mcr.microsoft.com/dotnet/aspnet:9.0-preview-alpine

LABEL org.opencontainers.image.title="aspnet" \
org.opencontainers.image.authors="Cloudflying <[email protected]>" \
org.opencontainers.image.source="https://github.com/dockenv/dockenv-images" \
org.opencontainers.image.url="https://github.com/dockenv" \
org.opencontainers.image.description='an open-source and cross-platform framework for building modern cloud-based internet-connected applications.'
7 changes: 7 additions & 0 deletions images/aspnet/latest/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine

LABEL org.opencontainers.image.title="aspnet" \
org.opencontainers.image.authors="Cloudflying <[email protected]>" \
org.opencontainers.image.source="https://github.com/dockenv/dockenv-images" \
org.opencontainers.image.url="https://github.com/dockenv" \
org.opencontainers.image.description='an open-source and cross-platform framework for building modern cloud-based internet-connected applications.'

0 comments on commit ab4e721

Please sign in to comment.