Skip to content

Reset SparkDistill to default repository config (#1624) #62

Reset SparkDistill to default repository config (#1624)

Reset SparkDistill to default repository config (#1624) #62

name: Build and Push Docker Image
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
push: true
tags: entrius/gittensor:latest,entrius/gittensor:${{ github.sha }}