rust-tauri/.forgejo/workflows/build.yml
Neshura d08c3fafee
All checks were successful
Build Custom rust-tauri image / build-container (push) Successful in 11m56s
Fix indenting
2024-01-01 20:48:53 +00:00

32 lines
822 B
YAML

name: 'Build Custom rust-tauri image'
author: 'Neshura'
on:
push:
schedule:
- cron: '0 0 * * 1'
jobs:
build-container:
runs-on: dind
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
config-inline: |
[registry."docker.io"]
mirrors = ["https://docker-cache.neshweb.net"]
-
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