This commit is contained in:
parent
ce00ab21fd
commit
9e1de87c89
@ -9,7 +9,7 @@ jobs:
|
|||||||
- name: build
|
- name: build
|
||||||
run: docker build -t ${{ vars.DOCKER_REGISTRY }}/${{ vars.IMAGE_NAME }}:1.3 -f Dockerfile .
|
run: docker build -t ${{ vars.DOCKER_REGISTRY }}/${{ vars.IMAGE_NAME }}:1.3 -f Dockerfile .
|
||||||
- name: tag
|
- name: tag
|
||||||
run: docker tag ${{ vars.DOCKER_REGISTRY }}/${{ vars.IMAGE_NAME }}:1,3 ${{ vars.DOCKER_REGISTRY }}/${{ vars.IMAGE_NAME }}:latest
|
run: docker tag ${{ vars.DOCKER_REGISTRY }}/${{ vars.IMAGE_NAME }}:1.3 ${{ vars.DOCKER_REGISTRY }}/${{ vars.IMAGE_NAME }}:latest
|
||||||
- name: push 1.3
|
- name: push 1.3
|
||||||
run: docker push ${{ vars.DOCKER_REGISTRY }}/${{ vars.IMAGE_NAME }}:1.3
|
run: docker push ${{ vars.DOCKER_REGISTRY }}/${{ vars.IMAGE_NAME }}:1.3
|
||||||
- name: push latest
|
- name: push latest
|
||||||
|
@ -8,7 +8,7 @@ RUN CGO_ENABLED=0 go build -trimpath -ldflags '-w -s' -o watcher ./main
|
|||||||
FROM oven/bun:1 as front
|
FROM oven/bun:1 as front
|
||||||
COPY . /build
|
COPY . /build
|
||||||
WORKDIR /build/wwwroot
|
WORKDIR /build/wwwroot
|
||||||
RUN bun install && bun run build
|
RUN bun install -c /build/wwwroot/bunfig.toml && bun run build
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
ARG HTTP_PROXY=http://192.168.31.55:10809
|
ARG HTTP_PROXY=http://192.168.31.55:10809
|
||||||
|
Loading…
Reference in New Issue
Block a user