feat: прямой туннель без релея
This commit is contained in:
1 parent
fa9549e6e0
commit
2812ded2ed
18 files changed
+586
-26
No files matched your search
@@ -86,6 +86,54 @@ jobs:
|
||||
dist/freeturn-sources.jar
|
||||
retention-days: 7
|
||||
|
||||
awg-image:
|
||||
name: AWG image
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6.0.2
|
||||
|
||||
- uses: docker/setup-qemu-action@v4.0.0
|
||||
|
||||
- uses: docker/setup-buildx-action@v4.1.0
|
||||
|
||||
- name: Log in to GHCR
|
||||
uses: docker/login-action@v4.2.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Resolve image tags
|
||||
id: tags
|
||||
run: |
|
||||
version="${GITHUB_REF_NAME#v}"
|
||||
repo="ghcr.io/${{ github.repository_owner }}/freeturn-awg"
|
||||
{
|
||||
echo "version=${version}"
|
||||
echo "list<<EOF"
|
||||
echo "${repo}:${version}"
|
||||
# pre-release не двигает latest
|
||||
case "${version}" in
|
||||
*-*) ;;
|
||||
*) echo "${repo}:latest" ;;
|
||||
esac
|
||||
echo "EOF"
|
||||
} >> "$GITHUB_OUTPUT"
|
||||
|
||||
- uses: docker/build-push-action@v6.20.0
|
||||
with:
|
||||
context: .
|
||||
file: docker/awg/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: ${{ steps.tags.outputs.list }}
|
||||
labels: |
|
||||
org.opencontainers.image.source=https://github.com/${{ github.repository }}
|
||||
org.opencontainers.image.version=${{ steps.tags.outputs.version }}
|
||||
org.opencontainers.image.revision=${{ github.sha }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
goreleaser:
|
||||
name: GoReleaser
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in new issue
Block a user