Skip to content

Bump om1-modules commit and update lock #39

Bump om1-modules commit and update lock

Bump om1-modules commit and update lock #39

Workflow file for this run

name: Build and Push Docker Image
on:
push:
branches: [ "main" ]
tags:
- 'v*'
workflow_dispatch:
jobs:
build-arm64:
runs-on: ubuntu-22.04-arm
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: openmindagi/om1_video_processor
tags: |
type=semver,pattern={{version}},prefix=v
type=semver,pattern={{major}}.{{minor}},prefix=v
type=ref,event=branch
type=sha
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
- name: Build and push ARM64 image by tag
id: build
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}