mirror of
https://github.com/m1k1o/neko.git
synced 2025-04-29 10:26:22 +02:00
update workflows.
This commit is contained in:
parent
4150ac48f0
commit
c89b01fb87
6 changed files with 37 additions and 61 deletions
|
@ -1,4 +1,4 @@
|
||||||
name: "amd64 images"
|
name: Build and Push to GHCR
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -7,13 +7,14 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-base:
|
build-base:
|
||||||
|
name: Build Base Image
|
||||||
uses: ./.github/workflows/image_base.yml
|
uses: ./.github/workflows/image_base.yml
|
||||||
with:
|
with:
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
dockerfile: Dockerfile
|
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
build-apps:
|
build-apps:
|
||||||
|
name: Build Apps Image
|
||||||
uses: ./.github/workflows/image_app.yml
|
uses: ./.github/workflows/image_app.yml
|
||||||
needs: build-base
|
needs: build-base
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -22,21 +23,34 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- name: firefox
|
- name: firefox
|
||||||
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
- name: waterfox
|
- name: waterfox
|
||||||
|
platforms: linux/amd64
|
||||||
- name: chromium
|
- name: chromium
|
||||||
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
- name: google-chrome
|
- name: google-chrome
|
||||||
|
platforms: linux/amd64
|
||||||
- name: ungoogled-chromium
|
- name: ungoogled-chromium
|
||||||
|
platforms: linux/amd64
|
||||||
- name: microsoft-edge
|
- name: microsoft-edge
|
||||||
|
platforms: linux/amd64
|
||||||
- name: brave
|
- name: brave
|
||||||
|
platforms: linux/amd64
|
||||||
- name: vivaldi
|
- name: vivaldi
|
||||||
|
platforms: linux/amd64
|
||||||
- name: opera
|
- name: opera
|
||||||
|
platforms: linux/amd64
|
||||||
- name: tor-browser
|
- name: tor-browser
|
||||||
|
platforms: linux/amd64
|
||||||
- name: remmina
|
- name: remmina
|
||||||
|
platforms: linux/amd64
|
||||||
- name: vlc
|
- name: vlc
|
||||||
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
- name: xfce
|
- name: xfce
|
||||||
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
- name: kde
|
- name: kde
|
||||||
|
platforms: linux/amd64
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
dockerfile: ${{ matrix.dockerfile }}
|
platforms: ${{ matrix.platforms }}
|
||||||
platforms: linux/amd64
|
|
||||||
secrets: inherit
|
secrets: inherit
|
34
.github/workflows/ghcr_arm.yml
vendored
34
.github/workflows/ghcr_arm.yml
vendored
|
@ -1,34 +0,0 @@
|
||||||
name: "arm64v8 and arm32v7 images"
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- 'v*'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-base:
|
|
||||||
uses: ./.github/workflows/image_base.yml
|
|
||||||
with:
|
|
||||||
flavor: arm
|
|
||||||
platforms: linux/arm64,linux/arm/v7
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
secrets: inherit
|
|
||||||
|
|
||||||
build-apps:
|
|
||||||
uses: ./.github/workflows/image_app.yml
|
|
||||||
needs: build-base
|
|
||||||
strategy:
|
|
||||||
# Will build all images even if some fail.
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- name: firefox
|
|
||||||
- name: chromium
|
|
||||||
- name: vlc
|
|
||||||
- name: xfce
|
|
||||||
with:
|
|
||||||
name: ${{ matrix.name }}
|
|
||||||
dockerfile: ${{ matrix.dockerfile }}
|
|
||||||
flavor: arm
|
|
||||||
platforms: linux/arm64,linux/arm/v7
|
|
||||||
secrets: inherit
|
|
6
.github/workflows/ghcr_intel.yml
vendored
6
.github/workflows/ghcr_intel.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: "intel gpu supported images"
|
name: Build and Push to GHCR for Intel
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -7,6 +7,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-base:
|
build-base:
|
||||||
|
name: Build Base Image
|
||||||
uses: ./.github/workflows/image_base.yml
|
uses: ./.github/workflows/image_base.yml
|
||||||
with:
|
with:
|
||||||
flavor: intel
|
flavor: intel
|
||||||
|
@ -15,6 +16,7 @@ jobs:
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
build-apps:
|
build-apps:
|
||||||
|
name: Build Apps Image
|
||||||
uses: ./.github/workflows/image_app.yml
|
uses: ./.github/workflows/image_app.yml
|
||||||
needs: build-base
|
needs: build-base
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -38,7 +40,7 @@ jobs:
|
||||||
- name: kde
|
- name: kde
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
dockerfile: ${{ matrix.dockerfile }}
|
|
||||||
flavor: intel
|
flavor: intel
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
|
dockerfile: ${{ matrix.dockerfile }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
6
.github/workflows/ghcr_nvidia.yml
vendored
6
.github/workflows/ghcr_nvidia.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: "nvidia gpu supported images"
|
name: Build and Push to GHCR for Nvidia
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -7,6 +7,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-base:
|
build-base:
|
||||||
|
name: Build Base Image
|
||||||
uses: ./.github/workflows/image_base.yml
|
uses: ./.github/workflows/image_base.yml
|
||||||
with:
|
with:
|
||||||
flavor: nvidia
|
flavor: nvidia
|
||||||
|
@ -15,6 +16,7 @@ jobs:
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
build-apps:
|
build-apps:
|
||||||
|
name: Build Apps Image
|
||||||
uses: ./.github/workflows/image_app.yml
|
uses: ./.github/workflows/image_app.yml
|
||||||
needs: build-base
|
needs: build-base
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -34,7 +36,7 @@ jobs:
|
||||||
dockerfile: Dockerfile.nvidia
|
dockerfile: Dockerfile.nvidia
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
dockerfile: ${{ matrix.dockerfile }}
|
|
||||||
flavor: nvidia
|
flavor: nvidia
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
|
dockerfile: ${{ matrix.dockerfile }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
14
.github/workflows/image_app.yml
vendored
14
.github/workflows/image_app.yml
vendored
|
@ -7,11 +7,6 @@ on:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
description: "The name of the application to build."
|
description: "The name of the application to build."
|
||||||
dockerfile:
|
|
||||||
required: false
|
|
||||||
type: string
|
|
||||||
default: "Dockerfile"
|
|
||||||
description: "The Dockerfile to use for building the image."
|
|
||||||
flavor:
|
flavor:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
@ -22,10 +17,11 @@ on:
|
||||||
type: string
|
type: string
|
||||||
default: "linux/amd64"
|
default: "linux/amd64"
|
||||||
description: "The platforms to build for."
|
description: "The platforms to build for."
|
||||||
secrets:
|
dockerfile:
|
||||||
GHCR_ACCESS_TOKEN:
|
required: false
|
||||||
required: true
|
type: string
|
||||||
description: "GitHub Container Registry access token."
|
default: "Dockerfile"
|
||||||
|
description: "The Dockerfile to use for building the image."
|
||||||
|
|
||||||
env:
|
env:
|
||||||
FLAVOR_PREFIX: ${{ inputs.flavor && format('{0}-', inputs.flavor) || '' }}
|
FLAVOR_PREFIX: ${{ inputs.flavor && format('{0}-', inputs.flavor) || '' }}
|
||||||
|
|
14
.github/workflows/image_base.yml
vendored
14
.github/workflows/image_base.yml
vendored
|
@ -3,11 +3,6 @@ name: Build and Publish Base Image
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
dockerfile:
|
|
||||||
required: false
|
|
||||||
type: string
|
|
||||||
default: "Dockerfile"
|
|
||||||
description: "The Dockerfile to use for building the image."
|
|
||||||
flavor:
|
flavor:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
@ -18,10 +13,11 @@ on:
|
||||||
type: string
|
type: string
|
||||||
default: "linux/amd64"
|
default: "linux/amd64"
|
||||||
description: "The platforms to build for."
|
description: "The platforms to build for."
|
||||||
secrets:
|
dockerfile:
|
||||||
GHCR_ACCESS_TOKEN:
|
required: false
|
||||||
required: true
|
type: string
|
||||||
description: "GitHub Container Registry access token."
|
default: "Dockerfile"
|
||||||
|
description: "The Dockerfile to use for building the image."
|
||||||
|
|
||||||
env:
|
env:
|
||||||
FLAVOR_PREFIX: ${{ inputs.flavor && format('{0}-', inputs.flavor) || '' }}
|
FLAVOR_PREFIX: ${{ inputs.flavor && format('{0}-', inputs.flavor) || '' }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue