Skip to content

Update docker/login-action action to v3 #78

Update docker/login-action action to v3

Update docker/login-action action to v3 #78

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up QEMU
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@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Cargo vendor
run: cargo vendor
-
name: Build and push
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/arm64,linux/arm/v6
push: ${{ github.ref == 'refs/heads/main' }}
tags: texthtml/midi-synthesizer-autoconnect:latest
cache-from: type=gha
cache-to: type=gha,mode=max