Make simple docker containers from the build artefact
Rust CI / Build and Test (push) Failing after 10m16s

This commit is contained in:
2024-08-01 23:03:11 +01:00
parent 76df9e46f3
commit ff31e6ab8f
2 changed files with 35 additions and 0 deletions
+21
View File
@@ -70,6 +70,27 @@ jobs:
target/release/${{ github.event.repository.name }}
target/aarch64-unknown-linux-gnu/release/${{ github.event.repository.name }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push multi-arch Docker image
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: git.joshuacoles.me/${{ github.repository }}:latest,git.joshuacoles.me/${{ github.repository }}:${{ github.sha }}
- uses: robiningelbrecht/ntfy-action@v1.0.0
name: Notify via ntfy.sh
if: always()