2023-12-19 22:52:40 +00:00
|
|
|
name: 'Build Custom rust-node image'
|
2023-12-19 22:45:54 +00:00
|
|
|
author: 'Neshura'
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * 1'
|
|
|
|
jobs:
|
|
|
|
build-container:
|
|
|
|
runs-on: dind
|
2023-12-20 08:08:22 +00:00
|
|
|
container: forgejo.neshweb.net/ci-docker-images/dind-bash
|
2023-12-19 22:45:54 +00:00
|
|
|
steps:
|
|
|
|
-
|
|
|
|
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-node:latest
|