Skip to content

Merge pull request #12 from pattern-tech/feat/auto-title-generation #2

Merge pull request #12 from pattern-tech/feat/auto-title-generation

Merge pull request #12 from pattern-tech/feat/auto-title-generation #2

Workflow file for this run

name: Docker image
on:
push:
branches:
- dev
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Login to ghcr
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
platforms: 'linux/amd64'
push: true
tags: pattern-tech/pattern-app:latest
cache-from: type=gha
cache-to: type=gha,mode=max