Skip to content

Commit

Permalink
chore: sync
Browse files Browse the repository at this point in the history
Merge pull request #11 from xynydev/template
  • Loading branch information
xynydev authored Jan 14, 2024
2 parents 9fdc0f9 + aecf5cc commit bc99830
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
27 changes: 17 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,12 @@ jobs:
# !!!

steps:
- name: Maximize build space
uses: AdityaGarg8/remove-unwanted-software@v1
with:
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'

# Checkout push-to-registry action GitHub repository
- name: Checkout Push to Registry action
uses: actions/checkout@v4

# Confirm that cosign.pub matches SIGNING_SECRET
- uses: sigstore/cosign-installer@v3.2.0
- uses: sigstore/cosign-installer@v3.3.0
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/live'

- name: Check SIGNING_SECRET matches cosign.pub
Expand All @@ -77,14 +70,21 @@ jobs:
fi
- name: Add yq (for reading recipe.yml)
uses: mikefarah/[email protected].4
uses: mikefarah/[email protected].5

- name: Gather image data from recipe
run: |
echo "IMAGE_NAME=$(yq '.name' ./config/${{ matrix.recipe }})" >> $GITHUB_ENV
echo "IMAGE_DESCRIPTION=$(yq '.description' ./config/${{ matrix.recipe }})" >> $GITHUB_ENV
echo "IMAGE_MAJOR_VERSION=$(yq '.image-version' ./config/${{ matrix.recipe }})" >> $GITHUB_ENV
echo "BASE_IMAGE_URL=$(yq '.base-image' ./config/${{ matrix.recipe }})" >> $GITHUB_ENV
BASE_IMAGE=$(yq '.base-image' ./config/${{ matrix.recipe }})
echo "BASE_IMAGE_URL=$BASE_IMAGE" >> $GITHUB_ENV
echo "BASE_IMAGE_NAME=$(echo $BASE_IMAGE | sed 's/.*\/.*\///')" >> $GITHUB_ENV
- name: Verify base image
uses: EyeCantCU/cosign-action/[email protected]
with:
containers: ${{ env.BASE_IMAGE_NAME }}:${{ env.IMAGE_MAJOR_VERSION }}

- name: Get current version
id: labels
Expand Down Expand Up @@ -158,6 +158,13 @@ jobs:
with:
string: ${{ env.IMAGE_NAME }}

- name: Maximize build space
uses: AdityaGarg8/remove-unwanted-software@v2
with:
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'

# Build image using Buildah action
- name: Build Image
id: build_image
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Generate ISO
uses: ublue-os/isogenerator@v2.2.0
uses: ublue-os/isogenerator@v2.3.0
id: isogenerator
with:
image-name: ${{ github.event.repository.name }}
Expand Down
2 changes: 0 additions & 2 deletions config/files/usr/share/ublue-os/just/60-custom.just
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
!include 100-bling.just

# Include some of your custom scripts here!

# https://github.com/essembeh/gnome-extensions-cli
Expand Down

0 comments on commit bc99830

Please sign in to comment.