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: on:
pull_request: pull_request:
branches: branches:
@ -8,13 +8,9 @@ on:
branches: branches:
- main - main
env:
IMAGE_NAME: isogenerator
IMAGE_REGISTRY: "ghcr.io/${{ github.repository_owner }}"
jobs: jobs:
push-image: push-image:
name: Build and push image name: Build and push container image
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
permissions: permissions:
contents: read contents: read
@ -30,6 +26,9 @@ jobs:
- version: 39 - version: 39
support: latest support: latest
steps: steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build image - name: Build image
uses: JasonN3/build-action@action uses: JasonN3/build-action@action
with: with:

View File

@ -22,6 +22,7 @@ on:
jobs: jobs:
build-and-push-iso: build-and-push-iso:
name: Build ISO
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: fedora:39 image: fedora:39
@ -29,6 +30,16 @@ jobs:
permissions: permissions:
contents: read contents: read
packages: write packages: write
strategy:
fail-fast: false
matrix:
version:
- 38
- 39
- 40
include:
- version: 40
web_ui: 'true'
steps: steps:
- name: Build ISO - name: Build ISO
uses: ./action.yml uses: ./action.yml
@ -38,7 +49,7 @@ jobs:
IMAGE_REPO: 'ghcr.io/ublue-os' IMAGE_REPO: 'ghcr.io/ublue-os'
IMAGE_TAG: 'latest' IMAGE_TAG: 'latest'
VARIANT: 'Kinoite' VARIANT: 'Kinoite'
VERSION: '39' VERSION: ${{ matrix.version }}
WEB_UI: 'false' WEB_UI: ${{ matrix.web_ui }}
ACTION_REPO: ${{ github.repository }} ACTION_REPO: ${{ github.repository }}
ACTION_REF: ${{ github.ref }} ACTION_REF: ${{ github.ref }}