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"