Skip to content

docker

docker #124

Workflow file for this run

name: docker
on:
workflow_run:
workflows: ['pip']
types:
- completed
schedule:
- cron: '0 0 * * 1'
workflow_dispatch:
jobs:
docker:
name: Release docker container
runs-on: ubuntu-latest
steps:
- name: Sleep to allow pip package to be ready
run: sleep 400s
shell: bash
- name: Checkout
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 DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64
push: true
tags: zwimer/rpipe