Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

実装のリポジトリでgithub actionsでdocker imageをリリースするようにする #23

Closed
TMats opened this issue Aug 12, 2022 · 4 comments
Assignees

Comments

@TMats
Copy link
Member

TMats commented Aug 12, 2022

No description provided.

@Jumpei-Arima
Copy link
Contributor

以下のworkflowを作成。
https://github.com/matsuolab/roomba_hack/blob/master/.github/workflows/docker-publish.yml

ghcrのlogin userとして @TMats を指定しているので、repoのsecretsにCR_PATを登録していただけばと思います。
(weblab_hsr_tidyupと運用は同じです。)

@TMats
Copy link
Member Author

TMats commented Sep 3, 2022

ありがとうございます,CR_PATの設定はしたんですが,ubuntuの方のイメージのビルドがこけてしまってるっぽいですね
https://github.com/matsuolab/roomba_hack/runs/8167846605?check_suite_focus=true
(あとコンテナにpushするのってmasterだけにしますか...?それとも全部pushされた方がいいんですかね(自分は前者でもいいような気がします

@Jumpei-Arima
Copy link
Contributor

ビルドこけてたのは、ignitionまわりのインストール中に何故か404 not foundが出てたからですね。re-runしたらうまく行きました。

以下で、pushするのは、masterにpushされた時だけのはずです(PRはtest(buildできるか)だけ実施)。
https://github.com/matsuolab/roomba_hack/blob/master/.github/workflows/docker-publish.yml#L4-L9

@TMats
Copy link
Member Author

TMats commented Sep 3, 2022

あ,すみません見落としていました

ビルドできましたね,releaseに反映されるようになりました.ありがとうございます

image

@TMats TMats closed this as completed Sep 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants