ubuntu-latest
This commit is contained in:
parent
76e1f12d23
commit
aa4dc2326f
@ -4,7 +4,7 @@ on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
image: docker:latest
|
||||
image: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
@ -13,14 +13,14 @@ jobs:
|
||||
run: |
|
||||
docker build -t hello-world-image .
|
||||
run-app:
|
||||
image: docker:latest
|
||||
image: ubuntu-latest
|
||||
steps:
|
||||
- name: Run Docker Container
|
||||
run: |
|
||||
docker run --name hello-world-container --rm hello-world-image
|
||||
|
||||
cleanup:
|
||||
image: docker:latest
|
||||
image: ubuntu-latest
|
||||
steps:
|
||||
- name: Remove Docker Image
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user