Skip to content

build(deps-dev): bump pylint from 2.17.5 to 3.0.2 #129

build(deps-dev): bump pylint from 2.17.5 to 3.0.2

build(deps-dev): bump pylint from 2.17.5 to 3.0.2 #129

Workflow file for this run

name: Docker Image CI
on:
push:
branches:
- main
tags:
- v*
pull_request:
workflow_dispatch:
permissions:
packages: write
contents: read
jobs:
openmldb:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
if: github.event_name == 'push'
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/${{ github.repository_owner }}/openmldb-exporter
flavor:
latest=false
tags: |
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
type=raw,value=workflow_dispatch,enable=${{ github.event_name == 'workflow_dispatch' }}
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Build And Push
id: docker_build
uses: docker/build-push-action@v5
with:
context: .
file: prod.Dockerfile
push: ${{ github.event_name == 'push' }}
platforms: linux/amd64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}