mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-08 07:23:34 +00:00
feat(ci): use docker registry cache (#8544)
This commit is contained in:
parent
637a6aef18
commit
e157992b77
@ -64,6 +64,8 @@ runs:
|
|||||||
tags: ${{ steps.docker_meta.outputs.tags }}
|
tags: ${{ steps.docker_meta.outputs.tags }}
|
||||||
load: true
|
load: true
|
||||||
push: false
|
push: false
|
||||||
|
cache-from: type=registry,ref=${{ steps.docker_meta.outputs.tags }}
|
||||||
|
cache-to: type=inline
|
||||||
- name: Upload image locally for testing (if not publishing)
|
- name: Upload image locally for testing (if not publishing)
|
||||||
uses: ishworkh/docker-image-artifact-upload@v1
|
uses: ishworkh/docker-image-artifact-upload@v1
|
||||||
if: ${{ inputs.publish != 'true' }}
|
if: ${{ inputs.publish != 'true' }}
|
||||||
@ -93,5 +95,7 @@ runs:
|
|||||||
build-args: ${{ inputs.build-args }}
|
build-args: ${{ inputs.build-args }}
|
||||||
tags: ${{ steps.docker_meta.outputs.tags }}
|
tags: ${{ steps.docker_meta.outputs.tags }}
|
||||||
push: true
|
push: true
|
||||||
|
cache-from: type=registry,ref=${{ steps.docker_meta.outputs.tags }}
|
||||||
|
cache-to: type=inline
|
||||||
|
|
||||||
# TODO add code for vuln scanning?
|
# TODO add code for vuln scanning?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user