Update .forgejo/workflows/build-and-push-image.yml
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 30s

This commit is contained in:
Cameron Redmore 2025-04-18 16:01:17 +01:00
parent ed24cc1f24
commit cd42596842

View file

@ -1,6 +1,8 @@
name: Build and Push Docker Image name: Build and Push Docker Image
on: on:
schedule:
- cron: '0 0 * * *' # Every night at midnight
push: push:
branches: branches:
- main # Adjust if your main branch is different - main # Adjust if your main branch is different
@ -26,14 +28,6 @@ jobs:
with: with:
fetch-depth: 0 # Recommended for metadata action fetch-depth: 0 # Recommended for metadata action
- name: Install Docker Client CLI
shell: sh
run: |
echo "Installing Docker client"
apk add docker
echo "Verifying docker client..."
docker --version
- name: Set up Docker Buildx - name: Set up Docker Buildx
id: buildx id: buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3