Add Forgejo action to bump Nix flake input in container-images
Some checks failed
/ blog-pim (push) Failing after 7s
Some checks failed
/ blog-pim (push) Failing after 7s
This commit is contained in:
parent
e242401553
commit
64e587fba1
1 changed files with 16 additions and 0 deletions
16
.forgejo/workflows/push.yaml
Normal file
16
.forgejo/workflows/push.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
on: [ push ]
|
||||
jobs:
|
||||
blog-pim:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: git.kun.is/home/forgejo-nix-action:687d16c49ea7936068bac64ec68c480a9d681962
|
||||
steps:
|
||||
- name: Clone container-images repository
|
||||
run: git clone ${GITHUB_SERVER_URL}/home/container-images.git container-images
|
||||
- name: Update Nix input on container-images
|
||||
run: nix flake lock --update-input blog-pim ./container-images
|
||||
- name: Push changes to container-images repo
|
||||
run: |
|
||||
git container-images/.git --work-tree container-images add -A
|
||||
git container-images/.git --work-tree container-images commit --message "Bump blog-pim Nix flake input"
|
||||
git container-images/.git --work-tree container-images push
|
Loading…
Reference in a new issue