4 Commits

Author SHA1 Message Date
Shaun Setlock
b5a1cb646a Triggering only on nvim file changes. 2025-05-03 20:39:27 -04:00
Shaun Setlock
0ee97a7c72 Modified comment in Actions workflow. 2025-05-03 20:31:13 -04:00
6b7ebb1f42 Merge pull request 'Modified triggers.' (#5) from feature/update_CICD_trigger into master
Reviewed-on: https://www.gitea.setlock.net/shaun/dotfiles/pulls/5
2025-05-03 19:54:27 -04:00
Shaun Setlock
35628b774f Modified triggers. 2025-05-03 19:53:44 -04:00

View File

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