From 83f7ec483320ceb716ea98f808befce66dd044c9 Mon Sep 17 00:00:00 2001 From: kengo-k <31839234+kengo-k@users.noreply.github.com> Date: Sat, 1 Jun 2024 20:22:17 +0900 Subject: [PATCH] add test for another action call --- action.yaml | 6 ++++-- internal/action.yaml | 8 ++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 internal/action.yaml diff --git a/action.yaml b/action.yaml index ce86c1e..daa83f6 100644 --- a/action.yaml +++ b/action.yaml @@ -8,5 +8,7 @@ inputs: description: 'Who to greet' required: true runs: - using: 'docker' - image: 'Dockerfile' + using: 'composite' + steps: + - name: 'Call Another Action' + uses: kengo-k/docker-build/internal@main diff --git a/internal/action.yaml b/internal/action.yaml new file mode 100644 index 0000000..879b5bc --- /dev/null +++ b/internal/action.yaml @@ -0,0 +1,8 @@ +name: 'Publish Docker images' +description: 'Dockerfileに変更があった場合イメージをビルドしてGHCRにPUSHする' + +runs: + using: 'composite' + steps: + - name: Display Hello + run: echo "hello"