Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

docker-wasari-cli

docker-wasari-cli #94

name: docker-wasari-cli
on:
workflow_run:
workflows: ["tests"]
branches: [main]
types:
- completed
jobs:
build-and-push-wasari-cli:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker 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
uses: docker/build-push-action@v5
with:
push: true
platforms: linux/amd64
tags: redbaty/wasari:latest,redbaty/wasari:b-${{ github.run_number }}
file: Wasari.Cli/Dockerfile