Compare commits
1 Commits
b1c5de4450
...
v0.0.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5add7af8b0 |
@@ -4,11 +4,14 @@ name: Build and Push Docker Image
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
- main
|
||||||
- master
|
- master
|
||||||
|
tags:
|
||||||
|
- "v*" # triggers when you push a tag like v1.0.0
|
||||||
paths:
|
paths:
|
||||||
- 'nvim/**'
|
- "**/Dockerfile"
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch: # manual run button
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
@@ -25,8 +28,8 @@ jobs:
|
|||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: gitea.example.com
|
registry: gitea.example.com
|
||||||
username: ${{ secrets.USER }}
|
username: ${{ secrets.GITEA_USERNAME }}
|
||||||
password: ${{ secrets.TOKEN }}
|
password: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
|
||||||
- name: Extract Tag Name (if any)
|
- name: Extract Tag Name (if any)
|
||||||
id: get_tag
|
id: get_tag
|
||||||
|
|||||||
Reference in New Issue
Block a user