Skip to content

Commit 5961149

Browse files
committed
Add a way to specify the base "operating system" (SOFTWARE-5013)
Note that OS is a bit of a lie, we'll use this to also refer to software-base images that use cuda images as a base
1 parent 455ede9 commit 5961149

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ inputs:
2222
release)
2323
required: false
2424
default: 'release'
25+
base_os:
26+
description: >-
27+
Operating system of the base image, intended for use with the
28+
OSG software-base image. Passed along as the BASE_OS build
29+
argument (default: el8)
30+
required: false
31+
default: el8
2532
context:
2633
description: 'Path to container files, including Dockerfile'
2734
required: false
@@ -83,6 +90,7 @@ runs:
8390
context: ${{ inputs.context }}
8491
build-args: |
8592
BASE_YUM_REPO=${{ inputs.osg_repo }}
93+
BASE_OS=${{ inputs.base_os }}
8694
BASE_OSG_SERIES=${{ inputs.osg_series }}
8795
TIMESTAMP_TAG=${{ steps.create_timestamp_tag.outputs.tags }}
8896
tags: "latest"

0 commit comments

Comments
 (0)