CHORE(merge): merge develop to main

- Switch to Gitea container registry
- Merge registry migration changes
This commit is contained in:
2025-12-20 13:05:08 +09:00
4 changed files with 7 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ on:
workflow_dispatch:
env:
REGISTRY: ghcr.io
REGISTRY: gitea0213.kro.kr
IMAGE_NAME: ${{ github.repository }}
DOCKER_HOST: tcp://172.17.0.1:2375
@@ -27,14 +27,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Log in to GitHub Container Registry
- name: Log in to Gitea Container Registry
run: |
echo "${{ secrets.githubregistry }}" | docker login ${{ env.REGISTRY }} -u Mayne0213 --password-stdin
echo "${{ github.token }}" | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
- name: Lowercase repository name
id: lowercase
run: |
echo "repo=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]' | sed 's/bluemayne/mayne0213/')" >> $GITHUB_OUTPUT
echo "repo=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT
- name: Extract metadata (tags, labels)
id: meta
@@ -121,7 +121,7 @@ jobs:
- name: Update kustomization with new image tag
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
GITEA_TOKEN: ${{ secrets.GITEAREGISTRYTOKEN }}
run: |
git config --global user.name "gitea-actions[bot]"
git config --global user.email "gitea-actions[bot]@users.noreply.gitea.com"

View File

@@ -6,5 +6,4 @@ resources:
- application.yaml
# Application deployments (prod and dev)
- application-prod.yaml
- application-dev.yaml

View File

@@ -16,7 +16,7 @@ commonLabels:
# 이미지 태그 설정
images:
- name: ghcr.io/mayne0213/todo
newTag: develop-sha-7a5e45bfa0d7214137a5352fee4cdc86d99936c4
newTag: develop-sha-b83703fe8a6585b25084fcb2ce4cb54b6f980d9c
patchesStrategicMerge:
- deployment-patch.yaml

View File

@@ -15,7 +15,7 @@ commonLabels:
# 이미지 태그 설정
images:
- name: ghcr.io/mayne0213/todo
newTag: main-sha-1fbca3e01607da3944543ad1dfa34c0686da3523
newTag: main-sha-c011afa3febf1537c2f648d6cc2e04194bca59d3
patchesStrategicMerge:
- deployment-patch.yaml