Skip to content

socks5: Log remoteAddr on all errors where possible #19

socks5: Log remoteAddr on all errors where possible

socks5: Log remoteAddr on all errors where possible #19

Workflow file for this run

name: build
on:
push:
branches: [ '*' ]
jobs:
build:
runs-on: ubuntu-latest
env:
IMAGE: "${{ github.repository }}:latest"
steps:
- uses: actions/checkout@v3
- name: Build Docker image
run: |
docker pull "$IMAGE"
docker build --cache-from "$IMAGE" -t build-image .
docker tag build-image "$IMAGE"
- name: Push to Docker Hub
if: "github.ref == 'refs/heads/master' && github.repository == 'ustclug/light-socks5'"
run: |
docker login -u "${{ secrets.DOCKER_USER }}" -p "${{ secrets.DOCKER_PASS }}"
docker push "$IMAGE"