31 lines
878 B
YAML
31 lines
878 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
schedule:
|
|
- cron: '@weekly' # once per week
|
|
|
|
jobs:
|
|
build-docker-image:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Log in to git.limbosolutions.com docker registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: git.limbosolutions.com
|
|
username: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_USERNAME }}
|
|
password: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_PASSWORD }}
|
|
|
|
- name: Build and push Docker Image
|
|
id: push
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
context: ${{gitea.workspace}}/act-runners/network-stack
|
|
file: ${{gitea.workspace}}/act-runners/network-stack/Dockerfile
|
|
push: true
|
|
tags: git.limbosolutions.com/kb/gitea/act_runner:0.2.13-network-stack |