Skip to content

Merge pull request #1 from chayprabs/cursor/csv-shape-build #2

Merge pull request #1 from chayprabs/cursor/csv-shape-build

Merge pull request #1 from chayprabs/cursor/csv-shape-build #2

Workflow file for this run

name: Publish Worker Image
on:
push:
branches:
- main
- cursor/**
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository_owner }}/csvshape-worker
tags: |
type=ref,event=branch
type=sha,prefix=sha-
type=raw,value=latest,enable={{is_default_branch}}
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: .
file: apps/worker/Dockerfile
labels: ${{ steps.meta.outputs.labels }}
push: true
tags: ${{ steps.meta.outputs.tags }}