Skip to content

chore(deps): update dependency uvicorn to v0.34.0 #295

chore(deps): update dependency uvicorn to v0.34.0

chore(deps): update dependency uvicorn to v0.34.0 #295

Workflow file for this run

name: Docker CI
on: [push]
jobs:
Docker:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Docker Login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USER_NAME }}
password: ${{secrets.DOCKER_USER_PASS}}
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: |
ihemon/business_idea_generator
labels: |
maintainer=Istiak Hassan Emon
org.opencontainers.image.title=Business Idea Generator
org.opencontainers.image.description=Business Idea Generator
org.opencontainers.image.vendor=Istiak Hassan Emon
flavor: |
latest=auto
prefix=
suffix=
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=ref, event=tag
type=semver,pattern={{major}}.{{minor}}.{{patch}}
type=sha
- name: Cache Docker layers
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Build and Push
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
BUILDTIME=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
REVISION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache