Skip to content

CI Build for Docker Action #1

CI Build for Docker Action

CI Build for Docker Action #1

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@v4.1.1
- name: Run my own container action
id: hello-action
uses: ./hello-world-docker-action
with:
who-to-greet: '@xcgomes'
- name: Output time set in the container
run: echo "The time was ${{ steps.hello-action.outputs.time }} when the action said hello"