Skip to content

patch github workflow #1

patch github workflow

patch github workflow #1

Workflow file for this run

name: build and publish docker image
on:
push:
branches:
- main
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: checkout source
uses: actions/checkout@v4
- name: setup QEMU
uses: docker/setup-qemu-action@v3
- name: setup buildx
uses: docker/setup-buildx-action@v3
- name: Login to dockerhub
uses: docker/login-action@v3
with:
username: ${{secrets.DOCKERHUB_USERNAME}}
password: ${{secrets.DOCKERHUB_TOKEN}}
- name: build and push to dockerhub
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
push: true
tags: thetonk/infinity-autobuilder:latest
context: .