Update .forgejo/workflows/build-and-push-image.yml
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 30s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 30s
This commit is contained in:
parent
ed24cc1f24
commit
cd42596842
1 changed files with 2 additions and 8 deletions
|
@ -1,6 +1,8 @@
|
|||
name: Build and Push Docker Image
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *' # Every night at midnight
|
||||
push:
|
||||
branches:
|
||||
- main # Adjust if your main branch is different
|
||||
|
@ -26,14 +28,6 @@ jobs:
|
|||
with:
|
||||
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
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue