From 16cf87553320c3a6a619336dec98bea0cb0f5741 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann <5276337+wulfland@users.noreply.github.com> Date: Thu, 23 Jun 2022 15:59:24 +0200 Subject: [PATCH] Create hello-world-docker-ci.yml --- .github/workflows/hello-world-docker-ci.yml | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/hello-world-docker-ci.yml diff --git a/.github/workflows/hello-world-docker-ci.yml b/.github/workflows/hello-world-docker-ci.yml new file mode 100644 index 0000000..b14891b --- /dev/null +++ b/.github/workflows/hello-world-docker-ci.yml @@ -0,0 +1,22 @@ +name: CI Build for Docker Action +on: + push: + branches: [ main ] + paths: [ hello-world-docker-action/** ] + workflow_dispatch: + +jobs: + test-action: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3.0.2 + + - name: Run my own container action + id: hello-action + uses: ./hello-world-docker-action + with: + who-to-greet: '@wulfland' + + - name: Output time set in the container + run: echo "The time was ${{ steps.hello-action.outputs.time }} when the action said hello"