mirror of
https://git.proxmox.com/git/fwupd
synced 2026-03-27 12:24:16 +00:00
34 lines
807 B
YAML
34 lines
807 B
YAML
name: Create containers
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 0 * * *'
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
|
|
jobs:
|
|
push_to_registry:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [fedora, debian-x86_64, arch, debian-i386, void]
|
|
|
|
steps:
|
|
- name: Check out the repo
|
|
uses: actions/checkout@v3
|
|
- name: "Generate Dockerfile"
|
|
env:
|
|
OS: ${{ matrix.os }}
|
|
run: ./contrib/ci/generate_docker.py
|
|
- name: Push to GitHub Packages
|
|
uses: docker/build-push-action@v3
|
|
with:
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
registry: docker.pkg.github.com
|
|
repository: fwupd/fwupd/fwupd-${{matrix.os}}
|
|
tags: latest
|