Skip to content

Disable draft-29 support #52

Disable draft-29 support

Disable draft-29 support #52

Workflow file for this run

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 }}