Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0ee97a7c72 | ||
| 6b7ebb1f42 | |||
|
|
35628b774f | ||
|
|
30ed4f77f6 | ||
| 0635cad22e | |||
| bf228bf176 |
@@ -4,14 +4,11 @@ name: Build and Push Docker Image
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
tags:
|
||||
- "v*" # triggers when you push a tag like v1.0.0
|
||||
paths:
|
||||
- "**/Dockerfile"
|
||||
- "nvim/**"
|
||||
|
||||
workflow_dispatch: # manual run button
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
@@ -28,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
|
||||
|
||||
Reference in New Issue
Block a user