Release CI fixed (#3)

This commit is contained in:
Paramtamtam 2021-01-16 01:35:09 +05:00 committed by GitHub
parent 9d5ceade36
commit 6f590edfc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@ on:
jobs: jobs:
docker-image: docker-image:
name: Build docker image name: Build docker image
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- name: Check out code - name: Check out code
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -30,7 +30,7 @@ jobs:
run: | run: |
docker buildx build \ docker buildx build \
--platform ${{ steps.buildx.outputs.platforms }} \ --platform ${{ steps.buildx.outputs.platforms }} \
--tag "tarampampam/3proxy:${{ steps.tag.outputs.value }} \ --tag "tarampampam/3proxy:${{ steps.tag.outputs.value }}" \
--tag "tarampampam/3proxy:latest" \ --tag "tarampampam/3proxy:latest" \
--tag "ghcr.io/tarampampam/3proxy:${{ steps.tag.outputs.value }}" \ --tag "ghcr.io/tarampampam/3proxy:${{ steps.tag.outputs.value }}" \
--tag "ghcr.io/tarampampam/3proxy:latest" \ --tag "ghcr.io/tarampampam/3proxy:latest" \

View File

@ -74,7 +74,7 @@ jobs: # Docs: <https://git.io/JvxXE>
--proxy http://127.0.0.1:3128 \ --proxy http://127.0.0.1:3128 \
--connect-timeout 3 \ --connect-timeout 3 \
--max-time 3 \ --max-time 3 \
https://github.com/robots.txt https://www.cloudflare.com/robots.txt
- name: Try to use SOCKS proxy - name: Try to use SOCKS proxy
if: matrix.auth != 'yes' if: matrix.auth != 'yes'
@ -83,7 +83,7 @@ jobs: # Docs: <https://git.io/JvxXE>
--proxy socks5://127.0.0.1:1080 \ --proxy socks5://127.0.0.1:1080 \
--connect-timeout 3 \ --connect-timeout 3 \
--max-time 3 \ --max-time 3 \
https://github.com/robots.txt https://www.cloudflare.com/robots.txt
- name: Try to use HTTP proxy (with auth) - name: Try to use HTTP proxy (with auth)
if: matrix.auth == 'yes' if: matrix.auth == 'yes'
@ -93,7 +93,7 @@ jobs: # Docs: <https://git.io/JvxXE>
--proxy-user evil:live \ --proxy-user evil:live \
--connect-timeout 3 \ --connect-timeout 3 \
--max-time 3 \ --max-time 3 \
https://github.com/robots.txt https://www.cloudflare.com/robots.txt
- name: Try to use SOCKS proxy (with auth) - name: Try to use SOCKS proxy (with auth)
if: matrix.auth == 'yes' if: matrix.auth == 'yes'
@ -103,7 +103,7 @@ jobs: # Docs: <https://git.io/JvxXE>
--proxy-user evil:live \ --proxy-user evil:live \
--connect-timeout 3 \ --connect-timeout 3 \
--max-time 3 \ --max-time 3 \
https://github.com/robots.txt https://www.cloudflare.com/robots.txt
- name: Stop container - name: Stop container
run: docker stop $(docker ps -a --filter ancestor=3proxy:local -q) run: docker stop $(docker ps -a --filter ancestor=3proxy:local -q)