17 Commits

Author SHA1 Message Date
Shaun Setlock
387748e89b Fixing tagging. 2025-05-03 22:45:35 -04:00
fd5a511c71 Merge pull request 'Building amd64 to start.' (#9) from feature/update_CICD_trigger into master
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 4m2s
Reviewed-on: https://www.gitea.setlock.net/shaun/dotfiles/pulls/9
2025-05-03 22:34:08 -04:00
Shaun Setlock
b56d2ae42e Building amd64 to start. 2025-05-03 22:32:03 -04:00
69b7d89ee8 Merge pull request 'Correcting tagging.' (#8) from feature/update_CICD_trigger into master
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 43m43s
Reviewed-on: https://www.gitea.setlock.net/shaun/dotfiles/pulls/8
2025-05-03 21:11:59 -04:00
Shaun Setlock
405f855298 Correcting tagging. 2025-05-03 21:08:01 -04:00
66282f686d Merge pull request 'Correcting container registry.' (#7) from feature/update_CICD_trigger into master
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 12s
Reviewed-on: https://www.gitea.setlock.net/shaun/dotfiles/pulls/7
2025-05-03 20:52:00 -04:00
Shaun Setlock
aa13febadf Correcting container registry. 2025-05-03 20:51:20 -04:00
Shaun Setlock
eeccd013dc Trying simple trigger.
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 13s
2025-05-03 20:49:12 -04:00
907c44472c Merge pull request 'Trying GitHub syntax.' (#6) from feature/update_CICD_trigger into master
Reviewed-on: https://www.gitea.setlock.net/shaun/dotfiles/pulls/6
2025-05-03 20:45:42 -04:00
Shaun Setlock
b1c5de4450 Trying GitHub syntax. 2025-05-03 20:44:50 -04:00
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
Shaun Setlock
30ed4f77f6 Simplifying triggers in Actions workflow.
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m53s
2025-05-03 17:08:44 -04:00
0635cad22e feature/implement_CI_CD_dotfiles#2 (#4)
Co-authored-by: Shaun Setlock <shaun@setlock.net>
Reviewed-on: https://www.gitea.setlock.net/shaun/dotfiles/pulls/4
2025-05-03 17:01:08 -04:00
bf228bf176 Created Actions workflow for nvim container build. (#3)
Co-authored-by: Shaun Setlock <shaun@setlock.net>
Reviewed-on: https://www.gitea.setlock.net/shaun/dotfiles/pulls/3
2025-05-03 16:46:11 -04:00

View File

@@ -0,0 +1,54 @@
# .gitea/workflows/docker-build-push.yml
name: Build and Push Docker Image
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: gitea.setlock.net
username: ${{ secrets.USER }}
password: ${{ secrets.TOKEN }}
- name: Extract Tag Name (if any)
id: get_tag
run: |
echo "GIT_TAG=${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: Build and Push Docker Image
uses: docker/build-push-action@v5
with:
context: ./nvim/tools
push: true
platforms: linux/amd64
tags: |
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 }}