Compare commits
3 Commits
v0.0.12
...
9e5b2def91
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e5b2def91 | ||
|
|
b82db31e2c | ||
|
|
5add7af8b0 |
@@ -5,8 +5,12 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- "v*" # triggers when you push a tag like v1.0.0
|
||||
paths:
|
||||
- "**/Dockerfile"
|
||||
|
||||
workflow_dispatch:
|
||||
workflow_dispatch: # manual run button
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
@@ -22,9 +26,9 @@ jobs:
|
||||
- name: Log in to Gitea Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: gitea.setlock.net
|
||||
username: ${{ secrets.USER }}
|
||||
password: ${{ secrets.TOKEN }}
|
||||
registry: gitea.example.com
|
||||
username: ${{ secrets.GITEA_USERNAME }}
|
||||
password: ${{ secrets.GITEA_TOKEN }}
|
||||
|
||||
- name: Extract Tag Name (if any)
|
||||
id: get_tag
|
||||
@@ -36,7 +40,7 @@ jobs:
|
||||
with:
|
||||
context: ./nvim/tools
|
||||
push: true
|
||||
platforms: linux/amd64
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: |
|
||||
gitea.setlock.net/shaun/neovim:latest
|
||||
gitea.setlock.net/shaun/neovim:${{ env.GIT_TAG }}
|
||||
https://gitea.setlock.net/shaun/dotfiles:latest
|
||||
https://gitea.setlock.net/shaun/dotfiles:${{ env.GIT_TAG }}
|
||||
|
||||
Reference in New Issue
Block a user