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