feat 构建添加代理
All checks were successful
Build image / build (push) Successful in 2m46s

This commit is contained in:
timerzz 2024-05-05 22:15:10 +08:00
parent a5b83e6332
commit 83f725f668

View File

@ -1,13 +1,13 @@
name: Build image name: Build image
on: [push] on: [push]
env:
HTTPS_PROXY: "http://192.168.31.55:10809"
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
env:
HTTPS_PROXY: "http://192.168.31.55:10809"
- 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