Skip to content

Commit 344258e

Browse files
committed
๐Ÿš‘๏ธ ์ตœ์‹  ์ฝ”๋“œ ๋ฐ˜์˜ ์•ˆ๋˜๋Š” ๋ฌธ์ œ ํ•ด๊ฒฐ
1 parent 730dfeb commit 344258e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

โ€Ž.github/workflows/upload_docker_image_to_acr.ymlโ€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
# 1. ์†Œ์Šค ์ฝ”๋“œ ์ฒดํฌ์•„์›ƒ
1616
- name: Checkout repository
1717
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0 # ๋ชจ๋“  ํžˆ์Šคํ† ๋ฆฌ ๊ฐ€์ ธ์˜ค๊ธฐ
20+
ref: ${{ github.ref }} # ํ˜„์žฌ ๋ธŒ๋žœ์น˜์˜ ์ตœ์‹  ์ปค๋ฐ‹ ์‚ฌ์šฉ
1821

1922
# 2. Azure ๋กœ๊ทธ์ธ (Service Principal ์‚ฌ์šฉ)
2023
- name: Log in to Azure
@@ -52,6 +55,7 @@ jobs:
5255
push: true # ๋นŒ๋“œ ํ›„ ํ‘ธ์‹œ ์‹คํ–‰
5356
tags: ${{ steps.meta.outputs.tags }} # ์œ„ metadata step์—์„œ ์ƒ์„ฑ๋œ ํƒœ๊ทธ ์‚ฌ์šฉ
5457
labels: ${{ steps.meta.outputs.labels }} # ์œ„ metadata step์—์„œ ์ƒ์„ฑ๋œ ๋ผ๋ฒจ ์‚ฌ์šฉ
58+
no-cache: true # ์บ์‹œ ๋น„ํ™œ์„ฑํ™”
5559

5660
# 6. ACR์— ํ‘ธ์‹œ๋œ ์ด๋ฏธ์ง€ ํ™•์ธ
5761
- name: Verify pushed image

0 commit comments

Comments
ย (0)