Files
llama-swap/.github/workflows/containers.yml
2025-02-14 10:55:30 -08:00

35 lines
870 B
YAML

name: Build Containers
permissions:
packages: write
on:
# schedule:
# - cron: "0 11 * * *" # Runs daily at 11 AM UTC (3 AM PST)
# push:
# tags:
# - "*" # Triggers on any new tag
workflow_dispatch: # Allows manual triggering of the workflow
jobs:
build-and-push:
runs-on: ubuntu-latest
strategy:
matrix:
platform: [cuda]
#platform: [intel, cuda, vulkan, musa]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run build-container
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./docker/build-container.sh ${{ matrix.platform }}