https://github.com/rensawamo/aca
Use Azure Container Apps
https://github.com/rensawamo/aca
Last synced: 4 months ago
JSON representation
Use Azure Container Apps
- Host: GitHub
- URL: https://github.com/rensawamo/aca
- Owner: rensawamo
- License: mit
- Created: 2024-03-05T06:54:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-06T07:39:23.000Z (over 1 year ago)
- Last Synced: 2025-01-08T14:42:27.657Z (5 months ago)
- Language: HTML
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## Azure Container Apps で Docker イメージや koを管理する
### Azure セッティング
```sh
az account list
az account set -s YOURID
```### リソースグループの追加と aca login
```sh
az acr create --resource-group --name resistrysample --sku basic --admin-enabled true
az acr login --name
```### ログインサーバの取得
```sh
az acr list --resource-group container-sample --query "[]
.{acrLoginServer:loginServer}" --output table
```// 出力
```sh
AcrLoginServer
-------------------------
resistrysample.azurecr.io
```### ルートのDockerfileを aaa(本当はよくない名前)をつけてbuild
```sh
docker build -t resistrysample.azurecr.io/aaa:latest .
```### imageをpushする
```sh
docker push resistrysample.azurecr.io/aaa:latest
```### リポジトリのイメージ名を取得
```sh
az acr repository list --name resistrysample --output table
```