Skip to content

Merge pull request #31 from ryanchild/main #133

Merge pull request #31 from ryanchild/main

Merge pull request #31 from ryanchild/main #133

name: docker
on:
push:
jobs:
docker:
name: docker
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Docker meta
id: docker_meta
uses: crazy-max/ghaction-docker-meta@v1
with:
images: jonmaddox/pluto-for-channels
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/386
push: true
tags: |
${{ steps.docker_meta.outputs.tags }}
${{ 'jonmaddox/pluto-for-channels:latest' }}