Skip to content

Commit 9dfc3f8

Browse files
authored
Move, and rename Dockerfile to root to fix sequester (#103)
* Move, and rename Dockerfile to root to fix sequester * Also update the action.yml path to the Dockerfile
1 parent 32605ab commit 9dfc3f8

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

actions/sequester/Quest2GitHub.sln

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1111
.gitattributes = .gitattributes
1212
.gitignore = .gitignore
1313
action.yml = action.yml
14-
ImportIssues\Dockerfile = ImportIssues\Dockerfile
15-
Dockerfile = Dockerfile
1614
LICENSE = LICENSE
1715
README.md = README.md
16+
..\..\sequester.Dockerfile = ..\..\sequester.Dockerfile
1817
EndProjectSection
1918
EndProject
2019
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ImportIssues", "ImportIssues\ImportIssues.csproj", "{3BB8E621-3F16-4ABC-BADC-D724920A61FD}"

actions/sequester/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ inputs:
1919

2020
runs:
2121
using: docker
22-
image: ./Dockerfile
22+
image: ../../sequester.Dockerfile
2323
args:
2424
- '--org'
2525
- ${{ inputs.org }}

actions/sequester/Dockerfile renamed to sequester.Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# Set the base image as the .NET 6.0 SDK (this includes the runtime)
21
FROM mcr.microsoft.com/dotnet/sdk:7.0 as build-env
32
# Copy everything and publish the release (publish implicitly restores and builds)
43
WORKDIR /app
54
COPY . ./
6-
RUN dotnet publish "ImportIssues/ImportIssues.csproj" -c Release -o out --no-self-contained
5+
RUN dotnet publish "actions/sequester/ImportIssues/ImportIssues.csproj" -c Release -o out --no-self-contained
76

87
# Relayer the .NET SDK, anew with the build output
98
FROM mcr.microsoft.com/dotnet/sdk:7.0

0 commit comments

Comments
 (0)