rust/.forgejo/workflows/build-image.yml

22 lines
490 B
YAML
Raw Normal View History

on:
schedule:
- cron: '30 1 * * *'
workflow_dispatch:
jobs:
build:
2025-01-10 21:12:04 +00:00
runs-on: ubuntu-latest
steps:
- name: Checkout
2025-01-10 20:27:27 +00:00
uses: actions/checkout@v4
- name: Build
run: docker build . -t git.kemitix.net/kemitix/rust:latest
2025-01-11 08:15:40 +00:00
- name: Login
2025-01-11 17:05:37 +00:00
run: docker login --username kemitix --password ${{ secrets.FORGE_USER_PASSWORD }} git.kemitix.net
2025-01-11 08:15:40 +00:00
- name: Publish
run: docker push git.kemitix.net/kemitix/rust:latest