Skip to content

allow manually triggering workflow #5

allow manually triggering workflow

allow manually triggering workflow #5

Workflow file for this run

name: Push to DockerHub
on:
push:
branches:
- main
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: robwhitby
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
push: true
tags: robwhitby/shakedown:latest
platforms: linux/amd64,linux/arm64