This commit is contained in:
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@ -17,15 +17,10 @@ jobs:
|
|||||||
ref: ${{ github.ref }}
|
ref: ${{ github.ref }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Install Podman
|
- name: Build Docker image
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo docker build -t dailytrends:latest .
|
||||||
sudo apt-get install -y podman
|
|
||||||
|
|
||||||
- name: Build container image with Podman
|
|
||||||
run: |
|
|
||||||
podman build -t dailytrends:latest .
|
|
||||||
|
|
||||||
- name: Test container image
|
- name: Test Docker image
|
||||||
run: |
|
run: |
|
||||||
podman run --rm dailytrends:latest node --version
|
sudo docker run --rm dailytrends:latest node --version
|
Reference in New Issue
Block a user