Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/add_ruby_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ jobs:

- name: Compute new versions (skip back-fill of gaps) and update ruby_versions.json
id: diff
working-directory: .github/workflows/
run: |
set -euo pipefail

Expand Down Expand Up @@ -139,7 +138,7 @@ jobs:

{
echo 'body<<__PR_BODY__'
echo "Docker Hub の \`library/ruby\` タグ一覧をもとに、未登録の Ruby バージョンを \`.github/workflows/ruby_versions.json\` に追加します。"
echo "Docker Hub の \`library/ruby\` タグ一覧をもとに、未登録の Ruby バージョンを \`ruby_versions.json\` に追加します。"
echo
echo "## 追加バージョン"
cat /tmp/pr_body_versions.txt
Expand Down Expand Up @@ -174,7 +173,7 @@ jobs:
ruby-version
automated
add-paths: |
.github/workflows/ruby_versions.json
ruby_versions.json

notify_failure:
if: failure()
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- name: Define Ruby versions
id: ruby_versions
run: echo "ruby_versions=$(jq -c < ruby_versions.json)" >> "$GITHUB_OUTPUT" # 1行にする必要があるので "jq -c" を実施
working-directory: .github/workflows/

build:
timeout-minutes: 30
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build_and_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Define Ruby versions
id: ruby_versions
run: echo "ruby_versions=$(jq -c < ruby_versions.json)" >> "$GITHUB_OUTPUT" # 1行にする必要があるので "jq -c" を実施
working-directory: .github/workflows/

build_and_push:
timeout-minutes: 30
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ https://gallery.ecr.aws/sonicgarden/ruby のソースコードです。

## Ruby バージョン追加の自動化

[.github/workflows/add_ruby_versions.yml](.github/workflows/add_ruby_versions.yml) が毎日 09:00 JST に Docker Hub の `library/ruby` タグ一覧を確認し、未登録のバージョンを [.github/workflows/ruby_versions.json](.github/workflows/ruby_versions.json) に追加する Pull Request を自動作成します。
[.github/workflows/add_ruby_versions.yml](.github/workflows/add_ruby_versions.yml) が毎日 09:00 JST に Docker Hub の `library/ruby` タグ一覧を確認し、未登録のバージョンを [ruby_versions.json](ruby_versions.json) に追加する Pull Request を自動作成します。

### 動作仕様

Expand Down
File renamed without changes.
Loading