Skip to content

.github/workflows/build.yml #32

.github/workflows/build.yml

.github/workflows/build.yml #32

Workflow file for this run

permissions:
contents: read
packages: write
on:
push:
pull_request:
schedule:
- cron: 0 0 * * SUN
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
with:
context: .
push: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
tags: ghcr.io/${{ github.repository }}:latest