Skip to content

Add .prettierrc file #2

Add .prettierrc file

Add .prettierrc file #2

Workflow file for this run

name: Build and release Docker image
on:
workflow_dispatch:
push:
branches:
- "master"
tags:
- "v*"
jobs:
docker:
name: Build docker image and push to ghcr
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
- name: Set up docker Buildx
uses: docker/setup-buildx-action@v3
- name: Metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/qwreey/simple-drive
- name: Login to github
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max