Skip to content

Commit

Permalink
add buildx jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
417-72KI committed Sep 29, 2022
1 parent 2231d5b commit 22d3e14
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,14 @@ buildx:
--platform linux/arm64,linux/amd64 \
--tag $(DOCKER_USER)/$(IMAGE_NAME):latest \
--tag $(DOCKER_USER)/$(IMAGE_NAME):$(LATEST_SWIFT_VERSION) \
--tag $(DOCKER_USER)/$(IMAGE_NAME):$(shell echo ${LATEST_SWIFT_VERSION} | sed -E 's/([0-9]*)((\.[0-9]*){0,2})/\1/g') \
.

buildx-5.6:
docker buildx build \
--push \
--platform linux/arm64,linux/amd64 \
--build-arg SWIFT_VERSION=5.6 \
--build-arg SWIFT_LINT_REVISION=$(shell cat .github/matrix.json | jq -rc '.swiftlint_supported_version."5.6"') \
--tag $(DOCKER_USER)/$(IMAGE_NAME):5.6 \
.

0 comments on commit 22d3e14

Please sign in to comment.