Skip to content

Commit

Permalink
feat: upgrade to master repo
Browse files Browse the repository at this point in the history
  • Loading branch information
kristobalus committed Dec 14, 2023
1 parent ff223a9 commit 891e386
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions build-image-fly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ docker buildx build -f ./Dockerfile.fly \
--label "build-tag=build-artifact" \
--platform linux/amd64 \
-t $IMAGE:$VERSION \
-t $IMAGE:latest-fly \
--push . || { echo "failed to build docker image"; exit 1; }

# commented out to keep cached layers
# docker buildx rm buildx_instance
# docker tag $IMAGE:$VERSION $IMAGE:latest-fly
# docker push $IMAGE:latest-fly

docker image prune -f --filter label=build-tag=build-artifact
3 changes: 1 addition & 2 deletions build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ docker buildx build -f ./Dockerfile \
--label "build-tag=build-artifact" \
--platform linux/amd64 \
-t $IMAGE:$VERSION \
-t $IMAGE:latest \
--push . || { echo "failed to build docker image"; exit 1; }

# commented out to keep cached layers
# docker buildx rm buildx_instance
docker tag $IMAGE:$VERSION $IMAGE:latest
docker push $IMAGE:latest
docker image prune -f --filter label=build-tag=build-artifact

0 comments on commit 891e386

Please sign in to comment.