Skip to content

Commit

Permalink
fix cache
Browse files Browse the repository at this point in the history
  • Loading branch information
thepsalmist committed Mar 27, 2024
1 parent fb80d20 commit 7a3c95c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-to-staging.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# name: Build and Deploy to Staging

on:
push:
branches:
Expand Down Expand Up @@ -43,10 +42,11 @@ jobs:
TERMAGGRS=${{ env.TERMAGGRS }}
context: .
platforms: linux/amd64,linux/arm64
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:cache
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:cache,mode=max
push: true
tags: "${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}"
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache,mode=max


- name: Deploy Docker Compose
uses: appleboy/ssh-action@master
Expand Down

0 comments on commit 7a3c95c

Please sign in to comment.