diff --git a/.appveyor.yml b/.appveyor.yml index e142a5c..c415310 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -24,10 +24,10 @@ install: build_script: - ps: | if ( $env:APPVEYOR_REPO_TAG -eq 'false' ) { - go build -ldflags "-X main.Version=$env:APPVEYOR_REPO_COMMIT -X main.BuildNum=$env:APPVEYOR_BUILD_VERSION" -a -o gorush.exe + go build -ldflags "-X main.Version=$env:APPVEYOR_REPO_COMMIT -X main.BuildNum=$env:APPVEYOR_BUILD_VERSION" -a -o release/gorush.exe } else { $version = $env:APPVEYOR_REPO_TAG_NAME - go build -ldflags "-X main.Version=$version -X main.BuildNum=$env:APPVEYOR_BUILD_VERSION" -a -o gorush.exe + go build -ldflags "-X main.Version=$version -X main.BuildNum=$env:APPVEYOR_BUILD_VERSION" -a -o release/gorush.exe } dir docker pull microsoft/nanoserver:10.0.14393.1884 diff --git a/.dockerignore b/.dockerignore index a301e6c..22571d1 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,3 @@ * !config/ !release/ -gorush.exe diff --git a/Dockerfile.windows b/Dockerfile.windows index e94d27b..9aeffb6 100644 --- a/Dockerfile.windows +++ b/Dockerfile.windows @@ -6,5 +6,5 @@ LABEL maintainer="Bo-Yi Wu " \ org.label-schema.vendor="Bo-Yi Wu" \ org.label-schema.schema-version="1.0" -ADD gorush.exe c:\gorush.exe +ADD release/gorush.exe c:\gorush.exe ENTRYPOINT [ "c:\\gorush.exe" ]