Files
dailytrends/.github/workflows/build.yml
albert 0e9979ff83
Some checks failed
Build Docker Image / build (pull_request) Failing after 16s
fix buildx 2
2025-07-30 12:26:23 +02:00

31 lines
687 B
YAML

name: Build Docker Image
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
build:
runs-on: slimbook-ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
fetch-depth: 0
- name: Install Podman
run: |
sudo apt-get update
sudo apt-get install -y podman
- name: Build container image with Podman
run: |
podman build -t dailytrends:latest .
- name: Test container image
run: |
podman run --rm dailytrends:latest node --version