Create entrypoint.sh #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
- name: Run my own container action | |
id: hello-action | |
uses: ./hello-world-docker-action | |
with: | |
who-to-greet: 'Ohio Department of Taxation' | |
- name: Output time set in the container | |
run: echo "The time the greeting was sent ${{ steps.hello-action.outputs.time }}" |