Change Dockerfile to upgrade packages when building (#26922)
This commit is contained in:
parent
b90383d073
commit
ef8ca2fd72
4 changed files with 9 additions and 2 deletions
7
.github/workflows/build-container-image.yml
vendored
7
.github/workflows/build-container-image.yml
vendored
|
|
@ -4,6 +4,9 @@ on:
|
|||
platforms:
|
||||
required: true
|
||||
type: string
|
||||
cache:
|
||||
type: boolean
|
||||
default: true
|
||||
use_native_arm64_builder:
|
||||
type: boolean
|
||||
push_to_images:
|
||||
|
|
@ -92,5 +95,5 @@ jobs:
|
|||
push: ${{ inputs.push_to_images != '' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
cache-from: ${{ inputs.cache && 'type=gha' }}
|
||||
cache-to: ${{ inputs.cache && 'type=gha,mode=max' }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue