Skip to content

Commit

Permalink
専用リポジトリ作成後初のコミット
Browse files Browse the repository at this point in the history
  • Loading branch information
takara9 committed May 26, 2024
1 parent 5b8fed0 commit abc10b2
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# ビルド
# Ubuntuコンテナにデバック用ツールなどをインストールしたイメージ


## ビルド
```
docker build -t my-ubuntu:0.3 .
```
Expand Down Expand Up @@ -34,4 +37,23 @@ docker push maho/my-ubuntu:0.3
- kubectl run -it mypod --rm --image maho/my-ubuntu:0.3 -- bash


## GitHubでのリリース方法
メインブランチへ移動してコードを最新化する。そして、ブランチを削除

```
$ git checkout main
$ git pull
$ git branch -d update_branch
```


リリースするTAGを設定する。
ここで付与するTAGはコンテナイメージのタグになるので、リポジトリを確認して、タグ名を決めること。

```
TAG=1.x
$ git tag -a $TAG -m "version $TAG"
$ git push origin $TAG
```


0 comments on commit abc10b2

Please sign in to comment.