Skip to content

tldr: Generate shorter summaries #7

tldr: Generate shorter summaries

tldr: Generate shorter summaries #7

name: Continuous Integration
on:
pull_request:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Generate container image tags and labels
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/rwx-labs/meta-oss
tags: |
type=edge
type=sha,format=long
type=ref,event=branch
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
with:
install: true
- name: Log in to container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker image
uses: docker/build-push-action@v5
with:
context: .
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max