Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

Commit

Permalink
feat: enable manually starting build
Browse files Browse the repository at this point in the history
  • Loading branch information
xynydev committed Feb 26, 2023
1 parent bf9def4 commit a303b45
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,21 @@ on:
branches:
- main
paths-ignore:
- '**.md'
- '**.txt'
- "**.md"
- "**.txt"
schedule:
- cron: '20 20 * * *' # 8:20pm everyday
- cron: "20 20 * * *" # 8:20pm everyday
push:
branches:
- main
paths-ignore:
- '**.md'
- '**.txt'
- "**.md"
- "**.txt"
workflow_dispatch:

env:
IMAGE_NAME: base
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}
IMAGE_NAME: base
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}

jobs:
push-ghcr:
Expand All @@ -34,7 +36,7 @@ jobs:
- major_version: 37
is_latest: true
is_stable: true
steps:
steps:
# Checkout push-to-registry action GitHub repository
- name: Checkout Push to Registry action
uses: actions/checkout@v3
Expand All @@ -60,7 +62,7 @@ jobs:
fi
fi
echo "alias_tags=${alias_tags[*]}" >> $GITHUB_OUTPUT
# Build metadata
- name: Image Metadata
uses: docker/metadata-action@v4
Expand All @@ -71,7 +73,7 @@ jobs:
labels: |
io.artifacthub.package.readme-url=https://raw.githubusercontent.com/ublue-os/base/main/README.md
io.artifacthub.package.logo-url=https://avatars.githubusercontent.com/u/120078124?s=200&v=4
# Build image using Buildah action
- name: Build Image
id: build_image
Expand Down

0 comments on commit a303b45

Please sign in to comment.