summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBenjamin Sherman <benjamin@holyarmy.org>2023-08-26 20:16:41 -0500
committerBenjamin Sherman <benjamin@holyarmy.org>2023-08-26 20:16:41 -0500
commitb4acc15fcf20d8d3fdff85becc4170d3f9f7acfa (patch)
tree4b4f9de1c0575d3b316488c04361ab6d5b683d9e /.github
parent9135f2ddeb003cf96a2b711c89ffae657ac3cf5f (diff)
downloadAeroCore-OS-b4acc15fcf20d8d3fdff85becc4170d3f9f7acfa.tar.gz
AeroCore-OS-b4acc15fcf20d8d3fdff85becc4170d3f9f7acfa.zip
refactor: fixing typo and cleanup comments
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml15
1 files changed, 7 insertions, 8 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ced7a05..7811bf7 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -14,16 +14,15 @@ on:
workflow_dispatch:
# The env variables starting with "ARG_" are described in the Containerfile of this repo.
-# Look there for options and explanations for their usage.
# The values here are defaults and should be modified if using a different image, needing
# nvidia, a specific nvidia driver, or a different Fedora version.
env:
- ARG_SOURCE_IMAGE: "silverblue"
- ARG_SOURCE_SUFFIX: "main"
- ARG_FEDORA_VERSION: "38"
- ARG_NVIDIA_VERSION: ""
- IMAGE_REGISTRY: "ghcr.io/${{ github.repository_owner }}"
- MY_IMAGE_NAME: "customzed-ublue"
+ MY_IMAGE_NAME: "custom-silverblue" # the name of the image produced by this build
+ ARG_SOURCE_IMAGE: "silverblue" # see Containerfile for list of possible upstream images
+ ARG_SOURCE_SUFFIX: "main" # see Containerfile
+ ARG_FEDORA_VERSION: "38" # see Containerfile
+ ARG_NVIDIA_VERSION: "" # see Containerfile
+ IMAGE_REGISTRY: "ghcr.io/${{ github.repository_owner }}" # do not edit
jobs:
push-ghcr:
@@ -102,7 +101,7 @@ jobs:
${{ env.MY_IMAGE_NAME }}
labels: |
- io.artifacthub.package.readme-url=https://raw.githubusercontent.com/${{ github.repository_owner }}/${{ github.repository_name }}/main/README.md
+ io.artifacthub.package.readme-url=https://raw.githubusercontent.com/${{ github.repository_owner }}/${{ github.repository }}/main/README.md
org.opencontainers.image.description=Customized ${{ env.ARG_SOURCE_IMAGE }}-${{ env.ARG_SOURCE_SUFFIX }} image.
org.opencontainers.image.title=${{ env.MY_IMAGE_NAME }}
org.opencontainers.image.version=${{ steps.labels.outputs.VERSION }}