Skip to content

Add Solana support

Add Solana support #1

Workflow file for this run

name: Build and Push Docker Image
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "TNLS-Relayers/**"
- ".github/workflows/Docker_image.yml"
pull_request:
branches:
- main
paths:
- "TNLS-Relayers/**"
- ".github/workflows/Docker_image.yml"
jobs:
build_and_push:
runs-on: ubuntu-latest
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
IMAGE_NAME: secretpath
IMAGE_TAG: latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Install Docker Compose
run: |
sudo curl -L "https://github.com/docker/compose/releases/download/$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep -Po '"tag_name": "\K.*\d')" \
-o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose version
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and Push Docker Image
run: |
docker-compose build
docker-compose push