Skip to content

Add Solana support

Add Solana support #3

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@v3
- name: Cache Docker layers
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- 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
working-directory: TNLS-Relayers
run: |
docker compose build --pull
docker compose push
env:
DOCKER_BUILDKIT: 1