From 1cbd133bf1b9ea2aec621b6465f8ad63685e4795 Mon Sep 17 00:00:00 2001 From: Alex Faulkner <58773474+alexfaulkner@users.noreply.github.com> Date: Wed, 3 Apr 2024 15:49:47 +0100 Subject: [PATCH] [skip ci] --- .github/workflows/hello-world-docker.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/hello-world-docker.yml diff --git a/.github/workflows/hello-world-docker.yml b/.github/workflows/hello-world-docker.yml new file mode 100644 index 0000000..31388c5 --- /dev/null +++ b/.github/workflows/hello-world-docker.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.3.0 + + - name: Run my own container action + id: hello-action + uses: ./hello-world-docker-action + with: + who-to-greet: '@Alex' + + - name: Output time set in the container + run: echo "The time was ${{ steps.hello-action.outputs.time }} when the action said hello"