Skip to content

Commit

Permalink
dist/buildx --build-arg BUILDDATE=$(date +%Y-%m-%d_%H:%M:%S)
Browse files Browse the repository at this point in the history
  • Loading branch information
sam#gemmi-win10 authored and huapox committed Dec 4, 2024
1 parent 7813cf5 commit ce4e581
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions distros/buildx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ function doBuildx(){
--build-arg REPO=$repo/
--build-arg TYPE=$type
--build-arg VER=$dver
--build-arg BUILDDATE=$(date +%Y-%m-%d_%H:%M:%S)
"""
cache="--cache-from type=registry,ref=$ali/$ns/$cimg --cache-to type=registry,ref=$ali/$ns/$cimg"
docker buildx build $cache $plat $args --push -t $repo/$ns/$img -f $dockerfile .
Expand Down

0 comments on commit ce4e581

Please sign in to comment.