Compare commits
18 Commits
v0.0.2
...
b940f75259
| Author | SHA1 | Date | |
|---|---|---|---|
| b940f75259 | |||
|
|
387748e89b | ||
| fd5a511c71 | |||
|
|
b56d2ae42e | ||
| 69b7d89ee8 | |||
|
|
405f855298 | ||
| 66282f686d | |||
|
|
aa13febadf | ||
|
|
eeccd013dc | ||
| 907c44472c | |||
|
|
b1c5de4450 | ||
|
|
b5a1cb646a | ||
|
|
0ee97a7c72 | ||
| 6b7ebb1f42 | |||
|
|
35628b774f | ||
|
|
30ed4f77f6 | ||
| 0635cad22e | |||
| bf228bf176 |
@@ -4,14 +4,9 @@ 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"
|
||||
|
||||
workflow_dispatch: # manual run button
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
@@ -27,9 +22,9 @@ jobs:
|
||||
- name: Log in to Gitea Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: gitea.example.com
|
||||
username: ${{ secrets.GITEA_USERNAME }}
|
||||
password: ${{ secrets.GITEA_TOKEN }}
|
||||
registry: gitea.setlock.net
|
||||
username: ${{ secrets.USER }}
|
||||
password: ${{ secrets.TOKEN }}
|
||||
|
||||
- name: Extract Tag Name (if any)
|
||||
id: get_tag
|
||||
@@ -41,7 +36,19 @@ jobs:
|
||||
with:
|
||||
context: ./nvim/tools
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64
|
||||
platforms: linux/amd64
|
||||
tags: |
|
||||
https://gitea.setlock.net/shaun/dotfiles:latest
|
||||
https://gitea.setlock.net/shaun/dotfiles:${{ env.GIT_TAG }}
|
||||
gitea.setlock.net/shaun/neovim:latest
|
||||
gitea.setlock.net/shaun/dotfiles/neovim:latest
|
||||
gitea.setlock.net/shaun/neovim:${{ env.GIT_TAG }}
|
||||
gitea.setlock.net/shaun/dotfiles/neovim:${{ env.GIT_TAG }}
|
||||
#
|
||||
# - name: Build and Push Docker Image
|
||||
# uses: docker/build-push-action@v5
|
||||
# with:
|
||||
# context: ./nvim/tools
|
||||
# push: true
|
||||
# platforms: linux/arm64
|
||||
# tags: |
|
||||
# gitea.setlock.net/shaun/neovim:latest
|
||||
# gitea.setlock.net/shaun/neovim:${{ env.GIT_TAG }}
|
||||
|
||||
Reference in New Issue
Block a user