pipeline struct
All checks were successful
Build and Test / build-image (push) Successful in 16s

This commit is contained in:
2025-12-31 10:02:36 +03:00
parent 1091f7c62f
commit ed1bd49151
3 changed files with 4 additions and 2 deletions

View File

@@ -13,8 +13,8 @@ jobs:
- name: Build Docker image - name: Build Docker image
run: | run: |
docker build -t testimage:latest .
docker run --rm testimage:latest docker run --rm testimage:latest
# docker build -t testimage:latest .
# The 'run:' keyword executes shell commands # The 'run:' keyword executes shell commands
- name: Run tests (example) - name: Run tests (example)

2
.gitignore vendored
View File

@@ -482,3 +482,5 @@ $RECYCLE.BIN/
# Vim temporary swap files # Vim temporary swap files
*.swp *.swp
published

View File

@@ -6,4 +6,4 @@ RUN dotnet publish -c Release -o published
FROM mcr.microsoft.com/dotnet/aspnet:10.0 FROM mcr.microsoft.com/dotnet/aspnet:10.0
WORKDIR /app WORKDIR /app
COPY --from=build /app/published . COPY --from=build /app/published .
CMD ["dotnet", "Program.dll"] CMD ["dotnet", "pipelines-experiment.dll"]