Fix a typo in the restic rclone example (#190) #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- "*.md" | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
# Script needs to be cleaned up a lot for shellcheck'ing | |
# - name: ShellCheck | |
# uses: ludeeus/[email protected] | |
# with: | |
# ignore: tests | |
- name: Hadolint Action | |
uses: hadolint/[email protected] | |
- name: Setup qemu | |
uses: docker/[email protected] | |
- name: Setup buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Docker login | |
uses: docker/[email protected] | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Docker meta | |
id: meta | |
uses: docker/metadata-action@v4 | |
with: | |
images: itzg/mc-backup | |
flavor: | | |
latest=true | |
- name: Build and push | |
uses: docker/[email protected] | |
with: | |
context: . | |
platforms: linux/amd64,linux/arm64,linux/arm/v7 | |
push: true | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} | |
cache-from: type=gha | |
cache-to: type=gha,mode=max |