Skip to content

Commit

Permalink
#91: disabling the nanoserver image building for now
Browse files Browse the repository at this point in the history
  • Loading branch information
roma-glushko committed Apr 28, 2024
1 parent 8ebb4db commit 084cde4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
strategy:
matrix:
image:
- nanoserver
# - nanoserver
- windows-server
needs:
- setup
Expand Down
6 changes: 4 additions & 2 deletions images/nanoserver.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ WORKDIR /build

SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

RUN dir
RUN powershell -Command "Get-ChildItem";

COPY . /build/
RUN dir

RUN powershell -Command "Get-ChildItem";

RUN go mod download
RUN go build -ldflags "-s -w -X glide/pkg/version.Version=$VERSION -X glide/pkg/version.commitSha=$COMMIT -X glide/pkg/version.buildDate=$BUILD_DATE" -o /build/dist/glide.exe

Expand Down

0 comments on commit 084cde4

Please sign in to comment.