All checks were successful
Fetch and Run Hello World Docker Image / fetch-hello-world (push) Successful in 6s
21 lines
482 B
YAML
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
|