Github ActionsでDockerfileをビルドしてプッシュするサンプル
mkdir my-repo
cd my-repo
touch README.md
git init
git add README.md
git commit -m initial
git remote add origin git@github.com/xxxx/xxxx
touch docker-build/Dockerfile
mkdir -p .github/workflows/
touch .github/workflows/actions.yml
git add .github
git push origin master
Privateだと容量制限食らうので。できる限り公開にしておく。
docker pull ghcr.io/takuya/github-action-build-and-push-docker-sample
