Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hyukjuns committed Dec 16, 2024
1 parent dfb49a0 commit 40cc7a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ jobs:
az storage blob upload \
--account-name ${{ env.STORAGE_NAME }} \
--container-name ${{ env.STORAGE_CONTAINER_NAME }} \
--name curl-on-gpu-test-${{ github.sha }}.txt \
--name curl-test-on-gpu-${{ github.sha }}.txt \
--file ${{ github.workspace }}/curl-test-on-gpu-${{ github.sha }}.txt \
--auth-mode login \
--overwrite
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ azure vm runner and docker ci
5. [docker 설치](https://docs.docker.com/engine/install/ubuntu/)

### CI 파이프라인 설계 고려사항
- Identity로 ACR 인증
- ACR Pull해서 컨테이너 실행
- VM Identity로 ACR 인증
- VM Identity에 ACR Push/Pull 권한 부여
- azcli login with identity and az acr login with identity
- [Input으로 CPU / GPU 레이블 선택하여 Job 실행할 Runner 선택](https://docs.github.com/ko/enterprise-cloud@latest/actions/hosting-your-own-runners/managing-self-hosted-runners/using-self-hosted-runners-in-a-workflow#using-custom-labels-to-route-jobs)
- 필요 변수 env로 선언 (ACR 및 File 경로 등)
- [Buildkit의 레이어 캐시 설정 - local cache](https://docs.docker.com/build/ci/github-actions/cache/#local-cache)
Expand Down

0 comments on commit 40cc7a8

Please sign in to comment.