Skip to content

backports: Always disconnect from peers older than MIN_PEER_PROTO_VER… #182

backports: Always disconnect from peers older than MIN_PEER_PROTO_VER…

backports: Always disconnect from peers older than MIN_PEER_PROTO_VER… #182

name: Build and Push Docker - Main
on: [push]
jobs:
test:
name: Build and Push Docker - Main
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: add-jenkins
- name: Set environment variables
run: echo "GIT_CURRENT_BRANCH=${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: Login to DockerHub Registry
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login --username "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: Run build script
run: contrib/docker/gh-build.sh