Skip to content

Commit

Permalink
Use gha
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesTaylor7 committed Nov 29, 2024
1 parent 5eed80c commit 379c1ae
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ name: Build and publish Docker image to the Github Container Registry
on:
- push

concurrency:
group: ${{ github.ref_name }}
cancel-in-progress: true

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
Expand Down Expand Up @@ -39,5 +43,5 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=user/app:buildcache
cache-to: type=registry,ref=user/app:buildcache,mode=max
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit 379c1ae

Please sign in to comment.