Skip to content

Commit

Permalink
fixing weekly docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Jul 4, 2024
1 parent bf0d13a commit 22dfe82
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .ci/build_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ docker login --username klaxalk --password $TOKEN

# docker build . --file docker/without_linux_setup --tag ctumrs/mrs_uav_system:latest

docker buildx create --name container --driver=docker-container
docker buildx build --push . --file Dockerfile --builder container --tag ctumrs/mrs_uav_system:latest --platform=linux/amd64,linux/arm64

WEEK_TAG="`date +%Y`_w`date +%V`"
docker tag ctumrs/mrs_uav_system:latest ctumrs/mrs_uav_system:$WEEK_TAG

docker buildx imagetools create -t ctumrs/mrs_uav_system:$WEEK_TAG ctumrs/mrs_uav_system:latest --push
docker buildx create --name container --driver=docker-container
docker buildx build --push . --file Dockerfile --builder container --tag ctumrs/mrs_uav_system:latest -tag ctumrs/mrs_uav_system:$WEEK_TAG --platform=linux/amd64,linux/arm64

0 comments on commit 22dfe82

Please sign in to comment.