Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
**/bin/
**/obj/
**/out/
.artifacts/
**/.artifacts/

# Visual Studio / VS Code
.vs/
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/build-docker-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
with:
platforms: linux/amd64,linux/arm64

# Always login to Docker Hub, not just on push, to benefit from
# higher rate limits with a Docker subscription for pulls and cache
- name: Login to Docker Hub step
uses: docker/login-action@v3
with:
Expand All @@ -59,7 +61,7 @@ jobs:
BUILD_CONFIGURATION=${{ github.ref_name == 'main' && 'Release' || 'Debug' }}
BUILD_VERSION=${{ needs.get-version.outputs.AssemblyVersion }}
BUILD_FILE_VERSION=${{ needs.get-version.outputs.AssemblyFileVersion }}
BUILD_ASSEMBLY_VERSION=${{ needs.get-version.outputs.AssemblyFileVersion }}
BUILD_ASSEMBLY_VERSION=${{ needs.get-version.outputs.AssemblyVersion }}
BUILD_INFORMATION_VERSION=${{ needs.get-version.outputs.AssemblyInformationalVersion }}
BUILD_PACKAGE_VERSION=${{ needs.get-version.outputs.SemVer2 }}

7 changes: 5 additions & 2 deletions Docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@

# Build Dockerfile
# docker buildx create --name "projecttemplate" --use
# docker buildx build --platform linux/amd64,linux/arm64 --file ./Docker/Ubuntu.Rolling.Dockerfile .
# docker buildx build --platform linux/amd64,linux/arm64 --file ./Docker/Dockerfile .

# Build and log output
# docker buildx build --no-cache --progress=plain --platform linux/amd64 --file ./Docker/Dockerfile . 2>&1 | tee build.log

# Test linux/amd64 target
# docker buildx build --load --platform linux/amd64 --tag projecttemplate:latest --file ./Docker/Ubuntu.Rolling.Dockerfile .
# docker buildx build --load --platform linux/amd64 --tag projecttemplate:latest --file ./Docker/Dockerfile .
# docker run -it --rm --name ProjectTemplate-Test projecttemplate:latest /bin/bash


Expand Down
2 changes: 0 additions & 2 deletions ProjectTemplate.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@
"editor.formatOnSave": true,
"editor.defaultFormatter": "csharpier.csharpier-vscode"
},
"chat.agent.maxRequests": 100,
"githubLocalActions.actCommand": "act --artifact-server-path ./.artifacts",
"git.alwaysSignOff": true,
"markdown.extension.toc.levels": "2..3"
},
Expand Down
Loading