fix(server): filter out /quic
in favor of /quic-v1
#50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish docker images | |
on: | |
push: | |
branches: | |
- '**' | |
tags: | |
- 'libp2p-server-**' | |
jobs: | |
server: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ github.token }} | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Get branch or tag name | |
id: ref-name | |
run: echo ::set-output name=ref::${GITHUB_REF#refs/*/} | |
- name: Build and push | |
uses: docker/build-push-action@v4 | |
with: | |
context: . | |
file: ./misc/server/Dockerfile | |
push: true | |
tags: ghcr.io/${{ github.repository }}-server:${{ steps.ref-name.outputs.ref }} |