[ci] Switch to versioned ci-env tags
This commit is contained in:
parent
940e6f847e
commit
da83dd9c8e
9 changed files with 19 additions and 5 deletions
|
@ -9,7 +9,9 @@ build dotnet-sdk-8.0-wasm dotnet-sdk:8.0-wasm
|
|||
build dotnet-sdk-9.0-alpine dotnet-sdk:9.0-alpine
|
||||
build dotnet-sdk-9.0-alpine-wasm dotnet-sdk:9.0-alpine-wasm
|
||||
|
||||
build ci-env ci-env:dotnet
|
||||
build ci-env-wasm ci-env:dotnet-wasm
|
||||
build ci-env-dotnet8 ci-env:dotnet8
|
||||
build ci-env-dotnet8-wasm ci-env:dotnet8-wasm
|
||||
build ci-env-dotnet9 ci-env:dotnet9
|
||||
build ci-env-dotnet9-wasm ci-env:dotnet9-wasm
|
||||
|
||||
docker buildx prune -a -f --keep-storage 10G
|
||||
|
|
3
.docker/ci-env-dotnet9-wasm.Dockerfile
Normal file
3
.docker/ci-env-dotnet9-wasm.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
|||
FROM iceshrimp.dev/iceshrimp/dotnet-sdk:9.0-alpine-wasm
|
||||
RUN apk add --no-cache --no-progress git docker-cli docker-cli-buildx python3 curl go nodejs-current tar zstd make
|
||||
CMD ["/bin/bash"]
|
3
.docker/ci-env-dotnet9.Dockerfile
Normal file
3
.docker/ci-env-dotnet9.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
|||
FROM iceshrimp.dev/iceshrimp/dotnet-sdk:9.0-alpine
|
||||
RUN apk add --no-cache --no-progress git docker-cli docker-cli-buildx python3 curl go nodejs-current tar zstd make
|
||||
CMD ["/bin/bash"]
|
6
.docker/dotnet-runner-9.0.Dockerfile
Normal file
6
.docker/dotnet-runner-9.0.Dockerfile
Normal file
|
@ -0,0 +1,6 @@
|
|||
FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine-composite
|
||||
ARG TARGETARCH
|
||||
WORKDIR /app
|
||||
COPY linux-musl-$TARGETARCH/ .
|
||||
USER app
|
||||
ENTRYPOINT ["./Iceshrimp.Backend", "--environment", "Production", "--migrate-and-start"]
|
|
@ -6,7 +6,7 @@ jobs:
|
|||
test-build-and-push:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: iceshrimp.dev/iceshrimp/ci-env:dotnet
|
||||
image: iceshrimp.dev/iceshrimp/ci-env:dotnet8
|
||||
options: |
|
||||
--volume /opt/iceshrimp-cache/nuget:/root/.nuget
|
||||
--volume /root/.docker:/root/.docker
|
||||
|
|
|
@ -6,7 +6,7 @@ jobs:
|
|||
build-artifacts:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: iceshrimp.dev/iceshrimp/ci-env:dotnet-wasm
|
||||
image: iceshrimp.dev/iceshrimp/ci-env:dotnet8-wasm
|
||||
options: |
|
||||
--volume /opt/iceshrimp-cache/nuget:/root/.nuget
|
||||
--volume /root/.docker:/root/.docker
|
||||
|
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
test-build:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: iceshrimp.dev/iceshrimp/ci-env:dotnet
|
||||
image: iceshrimp.dev/iceshrimp/ci-env:dotnet8
|
||||
options: --volume /opt/iceshrimp-cache/nuget:/root/.nuget
|
||||
steps:
|
||||
- name: Clone repository
|
||||
|
|
Loading…
Add table
Reference in a new issue