Skip to content

Commit

Permalink
chore: docker autobuilds
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Oct 30, 2024
1 parent 5810a5b commit aa05dd5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build and Push Docker Images

on:
push:
tags:
- '*'

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
push: true
tags: dreadnode/tensor-man:latest
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
<p align="center">
<a href="https://github.com/dreadnode/tensor-man/releases/latest"><img alt="Release" src="https://img.shields.io/github/release/dreadnode/tensor-man.svg?style=fl_pathat-square"></a>
<a href="https://crates.io/crates/tensor-man"><img alt="Crate" src="https://img.shields.io/crates/v/tensor-man.svg"></a>
<!-- soon :)
<a href="https://hub.docker.com/r/dreadnode/tensor-man"><img alt="Docker Hub" src="https://img.shields.io/docker/v/dreadnode/tensor-man?logo=docker"></a>
-->
<a href="https://rust-reportcard.xuri.me/report/github.com/dreadnode/tensor-man"><img alt="Rust Report" src="https://rust-reportcard.xuri.me/badge/github.com/dreadnode/tensor-man"></a>
<a href="#"><img alt="GitHub Actions Workflow Status" src="https://img.shields.io/github/actions/workflow/status/dreadnode/tensor-man/test.yml"></a>
<a href="https://github.com/dreadnode/tensor-man/blob/master/LICENSE.md"><img alt="Software License" src="https://img.shields.io/badge/license-GPL3-brightgreen.svg?style=flat-square"></a>
Expand Down

0 comments on commit aa05dd5

Please sign in to comment.