Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles committed Nov 8, 2024
1 parent 4c25616 commit da0ef85
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
with:
remove-codeql: true

- name: Build Image
- name: Build and Rechunk Image
id: build-image
shell: bash
run: |
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
string: ${{ env.IMAGE_REGISTRY }}

# Tag Images
- name: Load Rechunked Image
- name: Tag Images
shell: bash
run: |
set -eoux pipefail
Expand Down
10 changes: 8 additions & 2 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,12 @@ build-rechunk image="bluefin" tag="latest" flavor="main" kernel_pin="":
# Build Image for Pipeline:
[group('Production')]
build-pipeline image="bluefin" tag="latest" flavor="main" kernel_pin="":
@just build {{ image }} {{ tag }} {{ flavor }} 1 1 {{ kernel_pin }}
#!/usr/bin/bash
if [[ "${UID}" -gt "0" ]]; then
echo "Must Run with sudo or as root..."
exit 1
fi
just build {{ image }} {{ tag }} {{ flavor }} 1 1 {{ kernel_pin }}

# Rechunk Image
[group('Image')]
Expand Down Expand Up @@ -338,9 +343,10 @@ rechunk image="bluefin" tag="latest" flavor="main" ghcr="0":

# Cleanup
just sudoif podman volume rm cache_ostree
just sudoif "rm -rf ${OUTNAME}*"
just sudoif "rm -rf ${OUT_NAME}*"
just sudoif "rm -f previous.manifest.json"

# Secureboot Check
if [[ {{ ghcr }} == "1" ]]; then
just secureboot "${image}" "${tag}" "${flavor}"
fi
Expand Down

0 comments on commit da0ef85

Please sign in to comment.