diff --git a/Dockerfile b/Dockerfile index e20ef5d..43bf5d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM golang:latest WORKDIR /app COPY go.mod . # COPY go.sum . -RUN go mod downloadjjj +RUN go mod download COPY . . CMD ["go", "run", "main.go"] \ No newline at end of file diff --git a/release.sh b/release.sh index d504df2..88cb611 100644 --- a/release.sh +++ b/release.sh @@ -3,7 +3,7 @@ if [ $# != 1 ]; then echo "example: ./release.sh 1.0" exit 1 fi - +docker build -t mos3:$1 . docker tag mos3:$1 tttol/mos3:$1 docker tag mos3:$1 tttol/mos3:latest docker push tttol/mos3:$1