23 lines
586 B
YAML
23 lines
586 B
YAML
name: Publish
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*.*.*'
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Build & push
|
|
uses: mr-smithers-excellent/docker-build-push@v6
|
|
with:
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
image: ${{ github.repository_owner }}/gitea-runner-windows
|
|
tags: ${{ github.ref_name }}, latest
|
|
registry: ghcr.io
|
|
buildArgs: SERVERCORE_VERSION="ltsc2022",RUNNER_VERSION="${{ github.ref_name }}"
|