Skip to content

Commit 3684c00

Browse files
committed
Update docker-build.yml to remove main branch references and switch caching to GitHub Actions cache for improved build efficiency.
1 parent cffef1c commit 3684c00

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/docker-build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@ name: Build and Push Docker Image
33
on:
44
push:
55
branches:
6-
- main
76
- master
87
tags:
98
- "v*"
109
pull_request:
1110
branches:
12-
- main
1311
- master
1412

1513
jobs:
@@ -49,8 +47,8 @@ jobs:
4947
push: ${{ github.event_name != 'pull_request' }}
5048
tags: ${{ steps.meta.outputs.tags }}
5149
labels: ${{ steps.meta.outputs.labels }}
52-
cache-from: type=registry,ref=torukobyte/coolify-dashboard:buildcache
53-
cache-to: type=registry,ref=torukobyte/coolify-dashboard:buildcache,mode=max
50+
cache-from: type=gha
51+
cache-to: type=gha,mode=max
5452

5553
- name: Update Docker Hub description
5654
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)