test
All checks were successful
Build And Test / build-and-push (push) Successful in 1m53s

This commit is contained in:
2025-04-23 15:23:39 +09:00
parent a5d4024ede
commit 293bcdbea6
7 changed files with 53 additions and 21 deletions

View File

@ -25,13 +25,6 @@ jobs:
with:
path: ./version
# .env.production 생성
# URL_PROD
- name: Create env_production
# run: ${{ URL_KUBE_SVC }} > .env.production
run: ${{ URL_PROD }} > .env.production
- name: Install Docker // Docker 설치
run: |
curl -fsSL https://get.docker.com -o get-docker.sh
@ -39,7 +32,8 @@ jobs:
if: runner.os == 'Linux'
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v1
# uses: https://github.com/docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v1
- name: Login to Registry
run: docker login -u ${{ secrets.DOCKER_ID }} -p ${{ secrets.DOCKER_PW }} https://harbor.icurfer.com
@ -59,7 +53,7 @@ jobs:
- name: Checkout kustomize repository
uses: actions/checkout@v3
with:
repository: "icurfer/cd-msa-fe"
repository: "dev/cd-msa-fe"
ref: main
token: ${{ secrets.ACTION_TOKEN }}
path: cd-msa-fe
@ -67,7 +61,7 @@ jobs:
- name: Update Kubernetes resources
run: |
cd cd-msa-fe/overlays/dev/
kustomize edit set image \harbor.icurfer.com/msa-demo/msa-fe:\${{ steps.img-ver.outputs.content }}
kustomize edit set image harbor.icurfer.com/msa-demo/msa-fe:${{ steps.img-ver.outputs.content }}
cat kustomization.yaml
## cd commit