Release CI fixed (#3)
This commit is contained in:
parent
9d5ceade36
commit
6f590edfc5
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -7,7 +7,7 @@ on:
|
||||
jobs:
|
||||
docker-image:
|
||||
name: Build docker image
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
@ -30,7 +30,7 @@ jobs:
|
||||
run: |
|
||||
docker buildx build \
|
||||
--platform ${{ steps.buildx.outputs.platforms }} \
|
||||
--tag "tarampampam/3proxy:${{ steps.tag.outputs.value }} \
|
||||
--tag "tarampampam/3proxy:${{ steps.tag.outputs.value }}" \
|
||||
--tag "tarampampam/3proxy:latest" \
|
||||
--tag "ghcr.io/tarampampam/3proxy:${{ steps.tag.outputs.value }}" \
|
||||
--tag "ghcr.io/tarampampam/3proxy:latest" \
|
||||
|
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
@ -74,7 +74,7 @@ jobs: # Docs: <https://git.io/JvxXE>
|
||||
--proxy http://127.0.0.1:3128 \
|
||||
--connect-timeout 3 \
|
||||
--max-time 3 \
|
||||
https://github.com/robots.txt
|
||||
https://www.cloudflare.com/robots.txt
|
||||
|
||||
- name: Try to use SOCKS proxy
|
||||
if: matrix.auth != 'yes'
|
||||
@ -83,7 +83,7 @@ jobs: # Docs: <https://git.io/JvxXE>
|
||||
--proxy socks5://127.0.0.1:1080 \
|
||||
--connect-timeout 3 \
|
||||
--max-time 3 \
|
||||
https://github.com/robots.txt
|
||||
https://www.cloudflare.com/robots.txt
|
||||
|
||||
- name: Try to use HTTP proxy (with auth)
|
||||
if: matrix.auth == 'yes'
|
||||
@ -93,7 +93,7 @@ jobs: # Docs: <https://git.io/JvxXE>
|
||||
--proxy-user evil:live \
|
||||
--connect-timeout 3 \
|
||||
--max-time 3 \
|
||||
https://github.com/robots.txt
|
||||
https://www.cloudflare.com/robots.txt
|
||||
|
||||
- name: Try to use SOCKS proxy (with auth)
|
||||
if: matrix.auth == 'yes'
|
||||
@ -103,7 +103,7 @@ jobs: # Docs: <https://git.io/JvxXE>
|
||||
--proxy-user evil:live \
|
||||
--connect-timeout 3 \
|
||||
--max-time 3 \
|
||||
https://github.com/robots.txt
|
||||
https://www.cloudflare.com/robots.txt
|
||||
|
||||
- name: Stop container
|
||||
run: docker stop $(docker ps -a --filter ancestor=3proxy:local -q)
|
||||
|
Loading…
x
Reference in New Issue
Block a user