checkout before run

This commit is contained in:
Jason N. 2024-02-18 19:38:08 +00:00
parent 6ab23f79d2
commit 73b0799030
2 changed files with 18 additions and 8 deletions

View File

@ -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:

View File

@ -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 }}