Add .forgejo/workflows/build.yml
Some checks failed
Build Custom rust-tauri image / build-container (push) Failing after 5m12s
Some checks failed
Build Custom rust-tauri image / build-container (push) Failing after 5m12s
This commit is contained in:
parent
406942b481
commit
2023c55ed9
1 changed files with 30 additions and 0 deletions
30
.forgejo/workflows/build.yml
Normal file
30
.forgejo/workflows/build.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
name: 'Build Custom rust-tauri image'
|
||||
author: 'Neshura'
|
||||
|
||||
on:
|
||||
push:
|
||||
schedule:
|
||||
- cron: '0 0 * * 1'
|
||||
jobs:
|
||||
build-container:
|
||||
runs-on: dind
|
||||
steps:
|
||||
-
|
||||
name: Install Node.js
|
||||
run: apk add nodejs npm
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
-
|
||||
name: Login to Forgejo Docker Repo
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: forgejo.neshweb.net
|
||||
username: ${{ secrets.FORGEJO_USERNAME }}
|
||||
password: ${{ secrets.FORGEJO_TOKEN }}
|
||||
-
|
||||
name: Push to Package Registry
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
push: true
|
||||
tags: forgejo.neshweb.net/ci-docker-images/rust-tauri:latest
|
Loading…
Reference in a new issue