Skip to content

Make transfers in tests more parallel #40

Make transfers in tests more parallel

Make transfers in tests more parallel #40

name: Build and Publish Docker Image
on:
push:
branches: [ main, dev ]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v2
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile
push: true
tags: dzejkop/tx-sitter:latest
cache-from: type=gha
cache-to: type=gha,mode=max