Skip to content

Merge branch 'main' of github.com:im-calvin/Mittens #120

Merge branch 'main' of github.com:im-calvin/Mittens

Merge branch 'main' of github.com:im-calvin/Mittens #120

Workflow file for this run

name: Docker
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU # build for multi-platform support
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push # don't need to use actions/checkout because the action uses Git context
uses: docker/build-push-action@v2
with:
push: true
tags: imcalvin/mittens:latest