chore: changed the build from yejayekhoob/x to db123/x and added docker pull command instruction too
This commit is contained in:
@@ -13,7 +13,7 @@ RUN /usr/local/go/bin/go env -w GOPROXY=https://go.iranserver.com/repository/go/
|
|||||||
COPY go.mod go.sum ./
|
COPY go.mod go.sum ./
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN CGO_ENABLED=0 GOOS=linux go build -o auth-proxy .
|
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o auth-proxy .
|
||||||
|
|
||||||
# Runtime stage
|
# Runtime stage
|
||||||
FROM docker.iranserver.com/alpine:3.23
|
FROM docker.iranserver.com/alpine:3.23
|
||||||
|
|||||||
@@ -24,7 +24,11 @@ go build -o auth-proxy .
|
|||||||
## Docker
|
## Docker
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker build -t yejayekhoob/auth-proxy:latest .
|
docker build -t db123/auth-proxy:latest .
|
||||||
|
```
|
||||||
|
or
|
||||||
|
```bash
|
||||||
|
docker pull git.yejayekhoob.com/db123/auth-proxy:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
## Quick start
|
## Quick start
|
||||||
|
|||||||
@@ -9,7 +9,11 @@
|
|||||||
## Build
|
## Build
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker build -t yejayekhoob/auth-proxy:latest .
|
docker build -t db123/auth-proxy:latest .
|
||||||
|
```
|
||||||
|
or
|
||||||
|
```bash
|
||||||
|
docker pull git.yejayekhoob.com/db123/auth-proxy:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
## Run
|
## Run
|
||||||
|
|||||||
Reference in New Issue
Block a user