feat(ci): Improve workflow scripts

This commit is contained in:
Carlos Álvaro
2022-11-10 18:35:44 +01:00
parent e9db02a615
commit d2287d9e52
2 changed files with 8 additions and 17 deletions

View File

@@ -13,7 +13,7 @@ jobs:
name: Trivy scan
runs-on: ubuntu-latest
env:
CACHE_PATH: /tmp/.buildx-cache
CACHE_PATH: ${{ github.workspace }}/.buildx-cache
steps:
- name: Checkout repository
@@ -47,6 +47,7 @@ jobs:
type=local,src=${{ env.CACHE_PATH }}
ghcr.io/cdalvaro/docker-salt-master:latest
cache-to: type=local,dest=${{ env.CACHE_PATH }}
pull: true
load: true
tags: ghcr.io/cdalvaro/docker-salt-master:${{ github.sha }}