wallabhadasbhumika 38ea89e6e2
All checks were successful
Fetch and Run Hello World Docker Image / fetch-hello-world (push) Successful in 6s
jj
2024-12-26 01:28:41 +05:30

21 lines
482 B
YAML

name: "Fetch and Run Hello World Docker Image"
on:
push:
branches:
- main # Change to 'master' if that is your default branch
jobs:
fetch-hello-world:
runs-on: ubuntu-latest
steps:
- name: "Set up Docker"
run: |
docker --version
- name: "Pull and Run Hello World"
run: |
echo "Pulling and running Hello World Docker image..."
docker pull hello-world
# Run the Hello World image