Skip to content

Implement Event handling utilities #229

Implement Event handling utilities

Implement Event handling utilities #229

name: Build Dev Container Image & Push To GitHub Container Registry
on:
pull_request:
branches: [ "main" ]
jobs:
build-and-push-dev-container-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
if: ${{ ! startsWith(github.head_ref, 'dependabot/') }}
steps:
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
push: true
tags: ghcr.io/cssuob/tex-bot-py-v2:pr-${{ github.head_ref }}
cache-from: type=gha
cache-to: type=gha,mode=max