Skip to content

CI Build for Docker Action #2

CI Build for Docker Action

CI Build for Docker Action #2

name: CI Build for Docker Action
on:
push:
branches: [main]
paths: [hello-world/**]
workflow_dispatch:
inputs:
name:
type: choice
description: Who to greet ?
options:
- hedi
- mona lisa
jobs:
test-action:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run action
id: hello-world
uses: ./hello-world
with:
who-to-greet: "Hedi"
- name: Output time set in the container
run: echo "The time was ${{ steps.hello-world.outputs.time }}"