detect container runtime 3
Some checks failed
Build Docker Image / build (pull_request) Failing after 31s
Some checks failed
Build Docker Image / build (pull_request) Failing after 31s
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -35,16 +35,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Build container image
|
- name: Build container image
|
||||||
run: |
|
run: |
|
||||||
if [ "$CONTAINER_CMD" = "podman" ]; then
|
|
||||||
podman build -t dailytrends:latest .
|
podman build -t dailytrends:latest .
|
||||||
else
|
|
||||||
docker build -t dailytrends:latest .
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Test container image
|
- name: Test container image
|
||||||
run: |
|
run: |
|
||||||
if [ "$CONTAINER_CMD" = "podman" ]; then
|
|
||||||
podman run --rm dailytrends:latest node --version
|
podman run --rm dailytrends:latest node --version
|
||||||
else
|
|
||||||
docker run --rm dailytrends:latest node --version
|
|
||||||
fi
|
|
Reference in New Issue
Block a user