mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
Remove checkout step in action
This commit is contained in:
parent
e36da208a8
commit
3907653413
1 changed files with 3 additions and 18 deletions
21
action.yml
21
action.yml
|
|
@ -32,14 +32,6 @@ inputs:
|
|||
description: Enable Anaconda WebUI
|
||||
required: true
|
||||
default: "false"
|
||||
ACTION_REPO:
|
||||
description: Repository with the build action
|
||||
required: false
|
||||
default: ${{ github.repository }}
|
||||
ACTION_REF:
|
||||
description: Repository ref for the build action
|
||||
required: false
|
||||
default: ${{ github.ref }}
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
|
|
@ -67,13 +59,6 @@ runs:
|
|||
shell: bash
|
||||
run: dnf install -y make git
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ inputs.ACTION_REPO }}
|
||||
ref: ${{ inputs.ACTION_REF }}
|
||||
submodules: recursive
|
||||
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: make install-deps
|
||||
|
|
@ -87,7 +72,7 @@ runs:
|
|||
- name: Download image
|
||||
shell: bash
|
||||
run: |
|
||||
make container/${{ inputs.IMAGE_NAME }}-${{ inputs.IMAGE_TAG || inputs.VERSION }} \
|
||||
make -C ${{ github.action_path }} container/${{ inputs.IMAGE_NAME }}-${{ inputs.IMAGE_TAG || inputs.VERSION }} \
|
||||
ARCH=${{ inputs.ARCH }} \
|
||||
IMAGE_NAME=${{ inputs.IMAGE_NAME }} \
|
||||
IMAGE_REPO=${{ steps.registry_case.outputs.lowercase }} \
|
||||
|
|
@ -99,7 +84,7 @@ runs:
|
|||
- name: Create boot.iso
|
||||
shell: bash
|
||||
run: |
|
||||
make boot.iso \
|
||||
make -C ${{ github.action_path }} boot.iso \
|
||||
ARCH=${{ inputs.ARCH }} \
|
||||
IMAGE_NAME=${{ inputs.IMAGE_NAME }} \
|
||||
IMAGE_REPO=${{ steps.registry_case.outputs.lowercase }} \
|
||||
|
|
@ -112,7 +97,7 @@ runs:
|
|||
- name: Create deploy.iso and generate sha256 checksum
|
||||
shell: bash
|
||||
run: |
|
||||
make ${{ inputs.IMAGE_NAME }}-${{ inputs.IMAGE_TAG || inputs.VERSION }}.iso \
|
||||
make -C ${{ github.action_path }} ${{ inputs.IMAGE_NAME }}-${{ inputs.IMAGE_TAG || inputs.VERSION }}.iso \
|
||||
ARCH=${{ inputs.ARCH }} \
|
||||
IMAGE_NAME=${{ inputs.IMAGE_NAME }} \
|
||||
IMAGE_REPO=${{ steps.registry_case.outputs.lowercase }} \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue