Skip to content

Commit

Permalink
Update and rename build.yml to image_build.yml
Browse files Browse the repository at this point in the history
Code clean
  • Loading branch information
proJM-Coding authored Jun 6, 2024
1 parent d6f7aa9 commit efe6c15
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/build.yml → .github/workflows/image_build.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
name: build-ublue-custom
name: Build-image
on:
pull_request:
branches:
- main
schedule:
- cron: '05 10 * * 1' # 10:05am UTC everyday
- cron: '05 10 * * 1' # 10:05am UTC week on Monday
push:
branches:
- main
Expand All @@ -14,10 +14,10 @@ on:
workflow_dispatch:

env:
MY_IMAGE_NAME: "${{ github.event.repository.name }}" # the name of the image produced by this build, matches repo names
MY_IMAGE_NAME: "${{ github.event.repository.name }}" # The name of the image
MY_IMAGE_DESC: "A custom image designed for school and work environments"
IMAGE_REGISTRY: "ghcr.io/${{ github.repository_owner }}" # do not edit

IMAGE_REGISTRY: "ghcr.io/${{ github.repository_owner }}"
jobs:
build_push:
name: Build and push image
Expand Down Expand Up @@ -132,11 +132,6 @@ jobs:
extra-args: |
--disable-content-trust
# This section is optional and only needs to be enabled in you plan on distributing
# your project to others to consume. You will need to create a public and private key
# using Cosign and save the private key as a repository secret in Github for this workflow
# to consume. For more details, review the image signing section of the README.

# Sign container
- uses: sigstore/[email protected]
if: github.event_name != 'pull_request'
Expand Down

0 comments on commit efe6c15

Please sign in to comment.