зеркало из https://github.com/Azure/aks-gpu.git
Add version with SHA for GRID container image push
This commit is contained in:
Родитель
d5c367f3f2
Коммит
f09e1082e7
|
@ -111,7 +111,7 @@ jobs:
|
|||
docker buildx build --build-arg DRIVER_URL=${{ steps.load_config.outputs.grid_url }} --build-arg DRIVER_KIND=${{ matrix.driver_kind }} --build-arg DRIVER_VERSION=${{ steps.load_config.outputs.grid_version }} --cache-from=type=local,src=/tmp/.buildx-cache --cache-to=type=local,dest=/tmp/.buildx-cache-new --output=type=docker -t ${{ secrets.AZURE_REGISTRY_SERVER }}/public/aks/aks-gpu:${{ steps.semver.outputs.version }} .
|
||||
docker images
|
||||
az acr login -n ${{ secrets.AZURE_REGISTRY_SERVER }}
|
||||
docker push ${{ secrets.AZURE_REGISTRY_SERVER }}/public/aks/aks-gpu:${{ steps.load_config.outputs.grid_version }}
|
||||
docker push ${{ secrets.AZURE_REGISTRY_SERVER }}/public/aks/aks-gpu:${{ steps.semver.outputs.version }}
|
||||
- name: Move cache
|
||||
run: |
|
||||
rm -r /tmp/.buildx-cache
|
||||
|
|
Загрузка…
Ссылка в новой задаче