checkout before run
This commit is contained in:
parent
6ab23f79d2
commit
73b0799030
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
name: Create Container
|
||||
name: Build Container
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
|
@ -8,13 +8,9 @@ on:
|
|||
branches:
|
||||
- main
|
||||
|
||||
env:
|
||||
IMAGE_NAME: isogenerator
|
||||
IMAGE_REGISTRY: "ghcr.io/${{ github.repository_owner }}"
|
||||
|
||||
jobs:
|
||||
push-image:
|
||||
name: Build and push image
|
||||
name: Build and push container image
|
||||
runs-on: ubuntu-22.04
|
||||
permissions:
|
||||
contents: read
|
||||
|
@ -30,6 +26,9 @@ jobs:
|
|||
- version: 39
|
||||
support: latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build image
|
||||
uses: JasonN3/build-action@action
|
||||
with:
|
||||
|
|
|
@ -22,6 +22,7 @@ on:
|
|||
|
||||
jobs:
|
||||
build-and-push-iso:
|
||||
name: Build ISO
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: fedora:39
|
||||
|
@ -29,6 +30,16 @@ jobs:
|
|||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
version:
|
||||
- 38
|
||||
- 39
|
||||
- 40
|
||||
include:
|
||||
- version: 40
|
||||
web_ui: 'true'
|
||||
steps:
|
||||
- name: Build ISO
|
||||
uses: ./action.yml
|
||||
|
@ -38,7 +49,7 @@ jobs:
|
|||
IMAGE_REPO: 'ghcr.io/ublue-os'
|
||||
IMAGE_TAG: 'latest'
|
||||
VARIANT: 'Kinoite'
|
||||
VERSION: '39'
|
||||
WEB_UI: 'false'
|
||||
VERSION: ${{ matrix.version }}
|
||||
WEB_UI: ${{ matrix.web_ui }}
|
||||
ACTION_REPO: ${{ github.repository }}
|
||||
ACTION_REF: ${{ github.ref }}
|
||||
|
|
Loading…
Reference in New Issue