Add CI #1

Merged
evanespen merged 72 commits from testing-ci into main 2025-11-20 20:28:21 +00:00
2 changed files with 16 additions and 17 deletions
Showing only changes of commit 374909497a - Show all commits

View File

@@ -6,24 +6,24 @@ jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
# - name: Login to container registry
# uses: https://github.com/docker/login-action@v3
# with:
# registry: https://git.vanespen.dev
# username: ${{ secrets.USERNAME }}
# password: ${{ secrets.PASSWORD }}
- name: Login to container registry
uses: https://github.com/docker/login-action@v3
with:
registry: https://git.vanespen.dev
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
- name: Check out repository code
uses: actions/checkout@v4
# - name: Set up Docker Buildx
# uses: https://github.com/docker/setup-buildx-action@v3
# - name: Build and push
# uses: https://github.com/docker/build-push-action@v6
# with:
# context: .
# push: true
# pull: true
# no-cache: true
# tags: "git.vanespen.dev/evanespen/blog:latest"
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3
- name: Build and push
uses: https://github.com/docker/build-push-action@v6
with:
context: .
push: true
pull: true
no-cache: true
tags: "git.vanespen.dev/evanespen/blog:latest"
- name: Setup Kubectl
run: |
mkdir ~/.kube

View File

@@ -8,7 +8,6 @@ spec:
source:
repoURL: "https://git.vanespen.dev/evanespen/blog"
path: "k8s"
targetRevision: developer
destination:
server: "https://kubernetes.default.svc"
namespace: argocd