1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

move workflow_call

This commit is contained in:
Jason N. 2024-02-14 22:21:48 +00:00
parent a54f53fb11
commit 5e2b60cfb0
2 changed files with 20 additions and 19 deletions

View file

@ -1,30 +1,31 @@
name: Create and publish an ISO name: Create and publish an ISO
on: on:
workflow_call:
inputs:
IMAGE_VERSION:
required: true
type: string
IMAGE_ARCH:
required: true
type: string
IMAGE_NAME:
required: true
type: string
IMAGE_REPO:
required: true
type: string
IMAGE_REPO:
required: true
type: string
push: push:
branches: branches:
- 'main' - 'main'
tags: tags:
- 'v*' - 'v*'
pull_request:
workflow_call: pull_request:
inputs:
IMAGE_VERSION:
required: true
type: string
IMAGE_ARCH:
required: true
type: string
IMAGE_NAME:
required: true
type: string
IMAGE_REPO:
required: true
type: string
IMAGE_REPO:
required: true
type: string
env: env:
IMAGE_VERSION: ${{ github.event.inputs.IMAGE_VERSION || '39' }} IMAGE_VERSION: ${{ github.event.inputs.IMAGE_VERSION || '39' }}

View file

@ -3,7 +3,7 @@ version = 39
base_dir = $(shell pwd) base_dir = $(shell pwd)
image_repo = ghcr.io/ublue-os image_repo = ghcr.io/ublue-os
image_name = base-main image_name = base-main
variant = Server variant = Silverblue
image_repo_escaped = $(subst /,\/,$(image_repo)) image_repo_escaped = $(subst /,\/,$(image_repo))
image_repo_double_escaped = $(subst \,\\\,$(image_repo_escaped)) image_repo_double_escaped = $(subst \,\\\,$(image_repo_escaped))