diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d64325f..229928e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,12 @@ on: release: types: - published + push: + branches: + - main + pull_request: + branches: + - main jobs: deploy: @@ -30,4 +36,4 @@ jobs: context: . platforms: linux/amd64 push: ${{ github.event_name == 'release' }} - tags: ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }} + tags: ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name || github.sha }} diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d9defcd --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM coturn/coturn:4.6.2-r12 +COPY ./turnserver.conf /etc/coturn/turnserver.conf + +ENV DETECT_EXTERNAL_IP=yes + +EXPOSE 3478 3478/udp diff --git a/turnserver.conf b/turnserver.conf new file mode 100644 index 0000000..16baae3 --- /dev/null +++ b/turnserver.conf @@ -0,0 +1,3 @@ +# STUN/General +stun-only +listening-ip=0.0.0.0