Skip to content

Update uvicorn requirement from ~=0.23.2 to ~=0.25.0 in /app #145

Update uvicorn requirement from ~=0.23.2 to ~=0.25.0 in /app

Update uvicorn requirement from ~=0.23.2 to ~=0.25.0 in /app #145

Workflow file for this run

name: Docker Build
on:
push:
branches-ignore:
- 'dependabot**'
tags:
- 'v*'
pull_request:
jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set Docker Metadata
id: meta
uses: docker/metadata-action@v4
with:
images: |
dmptrluke/dash
ghcr.io/dmptrluke/dash
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- 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
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: ${{ github.event_name != 'pull_request' }}
context: ./app
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=ghcr.io/dmptrluke/dash:master
cache-to: type=inline