chore: better and more secure docker cache
This commit is contained in:
@@ -1,11 +1,12 @@
|
|||||||
node_modules
|
node_modules/*
|
||||||
dist
|
dist/*
|
||||||
|
.k8s/*
|
||||||
|
.github/*
|
||||||
|
|
||||||
.github
|
|
||||||
.gitignore
|
.gitignore
|
||||||
|
.dockerignore
|
||||||
Dockerfile
|
Dockerfile
|
||||||
README.md
|
README.md
|
||||||
.k8s
|
|
||||||
|
|
||||||
.env
|
.env
|
||||||
.secret
|
.secret
|
||||||
8
.github/workflows/deploy.yml
vendored
8
.github/workflows/deploy.yml
vendored
@@ -80,8 +80,12 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
${{ env.IMAGE_LATEST }}
|
${{ env.IMAGE_LATEST }}
|
||||||
${{ env.IMAGE_SHA }}
|
${{ env.IMAGE_SHA }}
|
||||||
cache-from: type=registry,ref=ghcr.io/hideyoshisolutions/frontend-hideyoshi.com:cache
|
cache-from: |
|
||||||
cache-to: type=registry,ref=ghcr.io/hideyoshisolutions/frontend-hideyoshi.com:cache,mode=max
|
type=registry,ref=ghcr.io/hideyoshisolutions/frontend-hideyoshi.com:cache-${{ github.ref_name }}-amd64
|
||||||
|
type=registry,ref=ghcr.io/hideyoshisolutions/frontend-hideyoshi.com:cache-${{ github.ref_name }}-arm64
|
||||||
|
cache-to: |
|
||||||
|
type=registry,ref=ghcr.io/hideyoshisolutions/frontend-hideyoshi.com:cache-${{ github.ref_name }}-amd64,mode=max,platform=linux/amd64
|
||||||
|
type=registry,ref=ghcr.io/hideyoshisolutions/frontend-hideyoshi.com:cache-${{ github.ref_name }}-arm64,mode=max,platform=linux/arm64
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: [docker]
|
needs: [docker]
|
||||||
|
|||||||
Reference in New Issue
Block a user