Skip to content

Commit

Permalink
fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gerblesh committed Sep 6, 2023
1 parent 7f1dc16 commit 625ead0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 128 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on: # https://docs.github.com/en/actions/using-workflows/events-that-trigger-wor
- live
- template
- main
- modular-rewrite
paths-ignore: # don't rebuild if only documentation has changed
- "**.md"
pull_request:
Expand Down Expand Up @@ -151,7 +152,7 @@ jobs:
- name: Push To GHCR
uses: redhat-actions/push-to-registry@v2
id: push
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/live'
# if: github.event_name != 'pull_request' && github.ref == 'refs/heads/live'
env:
REGISTRY_USER: ${{ github.actor }}
REGISTRY_PASSWORD: ${{ github.token }}
Expand All @@ -166,15 +167,15 @@ jobs:
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/live'
# if: github.event_name != 'pull_request' && github.ref == 'refs/heads/live'
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# Sign container
- uses: sigstore/[email protected]
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/live'
# if: github.event_name != 'pull_request' && github.ref == 'refs/heads/live'

- name: Sign container image
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/live'
Expand All @@ -186,6 +187,6 @@ jobs:
COSIGN_PRIVATE_KEY: ${{ secrets.SIGNING_SECRET }}

- name: Echo outputs
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/live'
# if: github.event_name != 'pull_request' && github.ref == 'refs/heads/live'
run: |
echo "${{ toJSON(steps.push.outputs) }}"
4 changes: 2 additions & 2 deletions boot_menu.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ublue_variants:
- label: ublue-os/startingpoint
- label: gerblesh/usway-rewrite
ks: /kickstart/ublue-os.ks
flavors:
- label: startingpoint
- label: usway-rewrite
121 changes: 0 additions & 121 deletions config/recipe-old.yml

This file was deleted.

2 changes: 1 addition & 1 deletion config/recipe.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# image will be published to ghcr.io/<user>/<name>
name: usway
name: usway-rewrite
# description will be included in the image's metadata
description: A starting point for further customization of uBlue images. Make your own! https://ublue.it/making-your-own/

Expand Down

0 comments on commit 625ead0

Please sign in to comment.