Skip to content

Commit

Permalink
ci: enable caching
Browse files Browse the repository at this point in the history
  • Loading branch information
trnila committed Feb 13, 2025
1 parent a9a32f2 commit a15a465
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: build
on:
workflow_dispatch:
push:
branches: [ master ]
#branches: [ master ]

jobs:
build:
Expand All @@ -19,8 +19,9 @@ jobs:
with:
platforms: linux/aarch64,linux/amd64
tags: ghcr.io/trnila/assistant:latest,ghcr.io/trnila/assistant:${{ github.sha }}
pull: true
push: true
cache-from: type=gha
cache-to: type=gha,mode=max

deploy:
if: github.repository == 'trnila/assistant'
Expand Down

0 comments on commit a15a465

Please sign in to comment.