1 Commits

Author SHA1 Message Date
Shaun Setlock
5add7af8b0 Created Actions workflow for nvim container build. 2025-05-03 16:42:24 -04:00

View File

@@ -4,11 +4,14 @@ name: Build and Push Docker Image
on:
push:
branches:
- main
- master
tags:
- "v*" # triggers when you push a tag like v1.0.0
paths:
- "nvim/**"
- "**/Dockerfile"
workflow_dispatch:
workflow_dispatch: # manual run button
jobs:
build-and-push:
@@ -25,8 +28,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: gitea.example.com
username: ${{ secrets.USER }}
password: ${{ secrets.TOKEN }}
username: ${{ secrets.GITEA_USERNAME }}
password: ${{ secrets.GITEA_TOKEN }}
- name: Extract Tag Name (if any)
id: get_tag