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

Compare commits

..

6 commits
v1.3.0 ... main

Author SHA1 Message Date
dependabot[bot]
4ab1e18f83
Bump actions/checkout from 4 to 5 (#171)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jason Nagin <33561705+JasonN3@users.noreply.github.com>
2025-10-31 19:26:02 -04:00
Jason Nagin
c9ef3de332
Upgrade base image to 42 (#176) 2025-10-08 13:04:06 -04:00
Jason Nagin
e310904cc7
Fix documentation about iso_path (#177) 2025-10-08 11:41:09 -04:00
Jason Nagin
33d0e5a5c2
Add tests for Fedora 43 (#175) 2025-10-05 18:58:17 -04:00
dependabot[bot]
3b090e7c2e
Bump sigstore/cosign-installer from 3.8.2 to 3.10.0 (#173)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-05 18:33:45 -04:00
dependabot[bot]
6810b148ad
Bump docker/login-action from 3.4.0 to 3.6.0 (#174)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-05 18:24:07 -04:00
12 changed files with 34 additions and 32 deletions

View file

@ -26,7 +26,7 @@ jobs:
statuses: write statuses: write
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
submodules: recursive submodules: recursive
fetch-depth: 0 fetch-depth: 0
@ -97,7 +97,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels || steps.meta_pr.outputs.labels }} labels: ${{ steps.meta.outputs.labels || steps.meta_pr.outputs.labels }}
- name: Login to GitHub Container Registry - name: Login to GitHub Container Registry
uses: docker/login-action@v3.4.0 uses: docker/login-action@v3.6.0
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.actor }}
@ -123,7 +123,7 @@ jobs:
- name: Install Cosign - name: Install Cosign
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')
uses: sigstore/cosign-installer@v3.8.2 uses: sigstore/cosign-installer@v3.10.0
- name: Sign the images - name: Sign the images
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')

View file

@ -32,7 +32,7 @@ jobs:
matrix: ${{ fromJson(needs.load_vars.outputs.BUILD_MATRIX) }} matrix: ${{ fromJson(needs.load_vars.outputs.BUILD_MATRIX) }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
submodules: recursive submodules: recursive
@ -53,7 +53,7 @@ jobs:
id: jobs id: jobs
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
job_name: "${{ inputs.parent_job_name }} / ${{ env.JOB_NAME }} (${{ matrix.version }}, ${{ matrix.flatpaks }}, ${{ matrix.image_repo }}, ${{ matrix.image_name }})" job_name: "${{ inputs.parent_job_name }} / ${{ env.JOB_NAME }} (${{ matrix.version }}, ${{ matrix.flatpaks }}, ${{ matrix.image_repo }})"
per_page: 100 per_page: 100
- name: Set status - name: Set status
@ -62,7 +62,7 @@ jobs:
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
status: pending status: pending
context: "${{ inputs.parent_job_name }} / ${{ env.JOB_NAME }} (${{ matrix.version }}, ${{ matrix.flatpaks }}, ${{ matrix.image_repo }}, ${{ matrix.image_name }})" context: "${{ inputs.parent_job_name }} / ${{ env.JOB_NAME }} (${{ matrix.version }}, ${{ matrix.flatpaks }}, ${{ matrix.image_repo }})"
sha: ${{ env.sha }} sha: ${{ env.sha }}
targetUrl: ${{ steps.jobs.outputs.html_url }} targetUrl: ${{ steps.jobs.outputs.html_url }}
@ -138,7 +138,7 @@ jobs:
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
status: ${{ job.status }} status: ${{ job.status }}
context: "${{ inputs.parent_job_name }} / ${{ env.JOB_NAME }} (${{ matrix.version }}, ${{ matrix.flatpaks }}, ${{ matrix.image_repo }}, ${{ matrix.image_name }})" context: "${{ inputs.parent_job_name }} / ${{ env.JOB_NAME }} (${{ matrix.version }}, ${{ matrix.flatpaks }}, ${{ matrix.image_repo }})"
sha: ${{ env.sha }} sha: ${{ env.sha }}
targetUrl: ${{ steps.jobs.outputs.html_url }} targetUrl: ${{ steps.jobs.outputs.html_url }}

View file

@ -9,9 +9,9 @@ on:
value: ' value: '
{ {
"version": [ "version": [
"40",
"41", "41",
"42" "42",
"43"
], ],
"flatpaks": [ "flatpaks": [
"false", "false",
@ -55,8 +55,8 @@ on:
"flatpaks": "flatpak_refs" "flatpaks": "flatpak_refs"
}, },
{ {
"image_repo": "quay.io/fedora-ostree-desktops", "image_repo": "ghcr.io/ublue-os",
"version": "40" "version": "43"
} }
] ]
}' }'

View file

@ -31,7 +31,7 @@ jobs:
matrix: ${{ fromJson(needs.load_vars.outputs.BUILD_MATRIX) }} matrix: ${{ fromJson(needs.load_vars.outputs.BUILD_MATRIX) }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
submodules: recursive submodules: recursive
@ -52,7 +52,7 @@ jobs:
id: jobs id: jobs
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
job_name: "${{ inputs.parent_job_name }} / ${{ env.JOB_NAME }} (${{ matrix.version }}, ${{ matrix.flatpaks }}, ${{ matrix.image_repo }}, ${{ matrix.image_name }})" job_name: "${{ inputs.parent_job_name }} / ${{ env.JOB_NAME }} (${{ matrix.version }}, ${{ matrix.flatpaks }}, ${{ matrix.image_repo }})"
per_page: 100 per_page: 100
- name: Set status - name: Set status
@ -61,7 +61,7 @@ jobs:
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
status: pending status: pending
context: "${{ inputs.parent_job_name }} / ${{ env.JOB_NAME }} (${{ matrix.version }}, ${{ matrix.flatpaks }}, ${{ matrix.image_repo }}, ${{ matrix.image_name }})" context: "${{ inputs.parent_job_name }} / ${{ env.JOB_NAME }} (${{ matrix.version }}, ${{ matrix.flatpaks }}, ${{ matrix.image_repo }})"
sha: ${{ env.sha }} sha: ${{ env.sha }}
targetUrl: ${{ steps.jobs.outputs.html_url }} targetUrl: ${{ steps.jobs.outputs.html_url }}
@ -107,6 +107,6 @@ jobs:
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
status: ${{ job.status }} status: ${{ job.status }}
context: "${{ inputs.parent_job_name }} / ${{ env.JOB_NAME }} (${{ matrix.version }}, ${{ matrix.flatpaks }}, ${{ matrix.image_repo }}, ${{ matrix.image_name }})" context: "${{ inputs.parent_job_name }} / ${{ env.JOB_NAME }} (${{ matrix.version }}, ${{ matrix.flatpaks }}, ${{ matrix.image_repo }})"
sha: ${{ env.sha }} sha: ${{ env.sha }}
targetUrl: ${{ steps.jobs.outputs.html_url }} targetUrl: ${{ steps.jobs.outputs.html_url }}

View file

@ -31,7 +31,7 @@ jobs:
matrix: ${{ fromJson(needs.load_vars.outputs.BUILD_MATRIX) }} matrix: ${{ fromJson(needs.load_vars.outputs.BUILD_MATRIX) }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
submodules: recursive submodules: recursive
@ -52,7 +52,7 @@ jobs:
id: jobs id: jobs
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
job_name: "${{ inputs.parent_job_name }} / ${{ env.JOB_NAME }} (${{ matrix.version }}, ${{ matrix.flatpaks }}, ${{ matrix.image_repo }}, ${{ matrix.image_name }})" job_name: "${{ inputs.parent_job_name }} / ${{ env.JOB_NAME }} (${{ matrix.version }}, ${{ matrix.flatpaks }}, ${{ matrix.image_repo }})"
per_page: 100 per_page: 100
- name: Set status - name: Set status
@ -61,7 +61,7 @@ jobs:
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
status: pending status: pending
context: "${{ inputs.parent_job_name }} / ${{ env.JOB_NAME }} (${{ matrix.version }}, ${{ matrix.flatpaks }}, ${{ matrix.image_repo }}, ${{ matrix.image_name }})" context: "${{ inputs.parent_job_name }} / ${{ env.JOB_NAME }} (${{ matrix.version }}, ${{ matrix.flatpaks }}, ${{ matrix.image_repo }})"
sha: ${{ env.sha }} sha: ${{ env.sha }}
targetUrl: ${{ steps.jobs.outputs.html_url }} targetUrl: ${{ steps.jobs.outputs.html_url }}
@ -98,6 +98,6 @@ jobs:
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
status: ${{ job.status }} status: ${{ job.status }}
context: "${{ inputs.parent_job_name }} / ${{ env.JOB_NAME }} (${{ matrix.version }}, ${{ matrix.flatpaks }}, ${{ matrix.image_repo }}, ${{ matrix.image_name }})" context: "${{ inputs.parent_job_name }} / ${{ env.JOB_NAME }} (${{ matrix.version }}, ${{ matrix.flatpaks }}, ${{ matrix.image_repo }})"
sha: ${{ env.sha }} sha: ${{ env.sha }}
targetUrl: ${{ steps.jobs.outputs.html_url }} targetUrl: ${{ steps.jobs.outputs.html_url }}

View file

@ -20,7 +20,7 @@ jobs:
contents: read contents: read
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v4 uses: actions/checkout@v5
- name: Run test - name: Run test
run: | run: |

View file

@ -18,10 +18,10 @@ jobs:
run: | run: |
sudo apt install -y make rsync sudo apt install -y make rsync
# Checkout Main Repo # Checkout Main Repo
- uses: actions/checkout@v4 - uses: actions/checkout@v5
# Checkout Wiki Repo # Checkout Wiki Repo
- uses: actions/checkout@v4 - uses: actions/checkout@v5
with: with:
repository: ${{github.repository}}.wiki repository: ${{github.repository}}.wiki
persist-credentials: true persist-credentials: true

View file

@ -1,6 +1,6 @@
FROM fedora:40 FROM fedora:42
ARG VERSION=39 ARG VERSION=42
ENV ARCH="x86_64" ENV ARCH="x86_64"
ENV IMAGE_NAME="base" ENV IMAGE_NAME="base"

View file

@ -29,8 +29,8 @@ This action is designed to be called from a GitHub workflow using the following
with: with:
name: ${{ steps.build.outputs.iso_name }} name: ${{ steps.build.outputs.iso_name }}
path: | path: |
${{ steps.build.outputs.iso_path }} ${{ steps.build.outputs.iso_path }}/${{ steps.build.outputs.iso_name }}
${{ steps.build.outputs.iso_path }}-CHECKSUM ${{ steps.build.outputs.iso_path }}/${{ steps.build.outputs.iso_name }}-CHECKSUM
if-no-files-found: error if-no-files-found: error
retention-days: 0 retention-days: 0
compression-level: 0 compression-level: 0

View file

@ -1,4 +1,5 @@
- [Home](home.md) - [Home](home.md)
- [Usage](usage.md)
- Development - Development
- [Using the Makefile](development/makefile.md) - [Using the Makefile](development/makefile.md)
- [Using the Container](development/container.md) - [Using the Container](development/container.md)

View file

@ -2,6 +2,7 @@ Welcome to the build-container-installer wiki!
## Index ## Index
- [Usage](usage.md)
- Development - Development
- [Using the Makefile](development/makefile.md) - [Using the Makefile](development/makefile.md)
- [Using the Container](development/container.md) - [Using the Container](development/container.md)

View file

@ -22,8 +22,8 @@ This action is designed to be called from a GitHub workflow using the following
with: with:
name: ${{ steps.build.outputs.iso_name }} name: ${{ steps.build.outputs.iso_name }}
path: | path: |
${{ steps.build.outputs.iso_path }} ${{ steps.build.outputs.iso_path }}/${{ steps.build.outputs.iso_name }}
${{ steps.build.outputs.iso_path }}-CHECKSUM ${{ steps.build.outputs.iso_path }}/${{ steps.build.outputs.iso_name }}-CHECKSUM
if-no-files-found: error if-no-files-found: error
retention-days: 0 retention-days: 0
compression-level: 0 compression-level: 0
@ -65,4 +65,4 @@ Variant will be the third item in the package name. Example: `fedora-release-kin
| Variable | Description | Usage | | Variable | Description | Usage |
| -------- | ----------------------------------------| ------------------------------------------------ | | -------- | ----------------------------------------| ------------------------------------------------ |
| iso_name | The name of the resulting .iso | ${{ steps.YOUR_ID_FOR_ACTION.outputs.iso_name }} | | iso_name | The name of the resulting .iso | ${{ steps.YOUR_ID_FOR_ACTION.outputs.iso_name }} |
| iso_path | The name and path of the resulting .iso | ${{ steps.YOUR_ID_FOR_ACTION.outputs.iso_name }} | | iso_path | The path to the resulting .iso | ${{ steps.YOUR_ID_FOR_ACTION.outputs.iso_path }} |