File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 37
37
with :
38
38
username : ${{ secrets.DOCKERHUB_USERNAME }}
39
39
password : ${{ secrets.DOCKERHUB_TOKEN }}
40
- - name : Buildx cache
41
- uses : actions/cache@v1
42
- with :
43
- path : ${{ github.workspace }}/cache
44
- key : ${{ runner.os }}-docker-${{ hashfiles('cache/**') }}
45
- restore-keys : |
46
- ${{ runner.os }}-docker
47
40
- name : Build and push
48
41
id : docker_build
49
42
uses : docker/build-push-action@v2
52
45
push : ${{ github.event_name != 'pull_request' }}
53
46
tags : ${{ steps.docker_meta.outputs.tags }}
54
47
labels : ${{ steps.docker_meta.outputs.labels }}
55
- cache-from : type=local,src=${{ github.workspace }}/cache
56
- cache-to : type=local,dest=${{ github.workspace }}/cache
57
48
- name : Run Trivy vulnerability scanner
58
49
uses : aquasecurity/trivy-action@master
59
50
with :
You can’t perform that action at this time.
0 commit comments