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