Testing github actions in gitea
Some checks failed
Build Docker Image / build (pull_request) Has been cancelled

This commit is contained in:
albert
2025-07-30 11:55:00 +02:00
parent febcc60605
commit 91b4b15731
3 changed files with 34 additions and 2 deletions

32
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,32 @@
name: Build Docker Image
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
run: |
docker build -t dailytrends:latest .
echo "Docker image built successfully!"
- name: Test image
run: |
docker run --rm dailytrends:latest node --version
echo "Image test completed!"