Skip to content

Commit

Permalink
Create hello-world-docker-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wulfland authored Jun 23, 2022
1 parent bc1c3a6 commit 16cf875
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/hello-world-docker-ci.yml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 16cf875

Please sign in to comment.