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,13 +1,6 @@
name: Create and publish an ISO name: Create and publish an ISO
on: on:
push:
branches:
- 'main'
tags:
- 'v*'
pull_request:
workflow_call: workflow_call:
inputs: inputs:
IMAGE_VERSION: IMAGE_VERSION:
@ -26,6 +19,14 @@ on:
required: true required: true
type: string type: string
push:
branches:
- 'main'
tags:
- 'v*'
pull_request:
env: env:
IMAGE_VERSION: ${{ github.event.inputs.IMAGE_VERSION || '39' }} IMAGE_VERSION: ${{ github.event.inputs.IMAGE_VERSION || '39' }}
IMAGE_ARCH: ${{ github.event.inputs.IMAGE_ARCH || 'x86_64' }} IMAGE_ARCH: ${{ github.event.inputs.IMAGE_ARCH || 'x86_64' }}

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))