-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use cache and run on PR * fix package overrides * run release only on refs/heads/master * Fix github ref
- Loading branch information
1 parent
b2c64a9
commit 09119e6
Showing
3 changed files
with
67 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Build base environment | ||
on: | ||
schedule: | ||
- cron: "0 2 * * *" | ||
workflow_dispatch: | ||
jobs: | ||
build-environment: | ||
name: Build environment | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: docker/setup-buildx-action@v2 | ||
- name: build builder image | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: . | ||
tags: image-builder:latest | ||
outputs: type=docker,dest=/tmp/builder.tar | ||
- name: Cache builder image | ||
id: builder-cache | ||
uses: actions/cache@v3 | ||
with: | ||
key: ${{ hashFiles('pkgs/**/PKGBUILD')}} | ||
path: /tmp/builder.tar | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: image-builder | ||
path: /tmp/builder.tar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters