-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: [email protected] <[email protected]>
- Loading branch information
Showing
1 changed file
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,32 @@ on: | |
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-20.04 | ||
container: | ||
image: ubuntu:latest | ||
services: | ||
helloService: | ||
image: hello-world:latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check Docker | ||
- name: Checkout docker | ||
- uses: docker-practice/actions-setup-docker@master | ||
timeout-minutes: 12 | ||
|
||
- name: actions/checkout docker | ||
run: docker version | ||
|
||
- name: Install Compose | ||
uses: ndeloof/[email protected] | ||
with: | ||
version: v2.1.0 # defaults to 'latest' | ||
legacy: true # will also install in PATH as `docker-compose` | ||
- name: Check version docker compose | ||
run: | | ||
docker-compose --version | ||
- name: Check Docker compose | ||
run: | | ||
docker compose version | ||
docker-compose version | ||
docker compose --version |