Skip to content

Commit

Permalink
- updates ci:test
Browse files Browse the repository at this point in the history
  • Loading branch information
saxix committed Jun 17, 2024
1 parent 14665e0 commit 2b74e9e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/actions/docker_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,19 @@ runs:
driver-opts: 'image=moby/buildkit:v0.13.2'
- name: Build and push
# if: ${{ steps.image_updated.outputs.updated != 'true' || inputs.force == 'true' }}
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
image: ${{ inputs.image }}
tags: ${{ inputs.image }}
target: ${{ inputs.target }}
file: ./docker/Dockerfile
platforms: linux/amd64
multiPlatform: false
outputs: type=registry
cache-from: "type=registry,ref=${{inputs.image}}-buildcache,mode=max"
cache-to: "type=registry,ref=${{inputs.image}}-buildcache,mode=max"
pull: true
enableBuildKit: true
build-args: |
BUILD_DATE=${{ steps.build_args.outputs.BUILD_DATE }}
CHECKSUM=${{ steps.build_args.outputs.CHECKSUM }}
Expand Down

0 comments on commit 2b74e9e

Please sign in to comment.