forked from actions/runner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
32 lines (25 loc) · 1.88 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.PHONY: publish-alpine-rootful
publish-alpine-rootful:
docker buildx build --platform linux/amd64,linux/arm64 -f images/Dockerfile-alpine-rootful -t cynkra/actions-runner:2.311.0-alpine-rootful -t cynkra/actions-runner:2-alpine-rootful --push .
.PHONY: publish-alpine-rootless
publish-alpine-rootless:
docker buildx build --platform linux/amd64,linux/arm64 -f images/Dockerfile-alpine-rootless -t cynkra/actions-runner:2.311.0-alpine-rootless -t cynkra/actions-runner:2-alpine-rootless --push .
.PHONY: publish-ubuntu-rootful
publish-ubuntu-rootful:
docker buildx build --platform linux/arm64 -f images/Dockerfile-ubuntu-rootful -t cynkra/actions-runner:2.311.0-ubuntu-rootful -t cynkra/actions-runner:2-ubuntu-rootful --push .
.PHONY: publish-ubuntu-rootless
publish-ubuntu-rootless:
docker buildx build --platform linux/arm64 -f images/Dockerfile-ubuntu-rootless -t cynkra/actions-runner:2.311.0-ubuntu-rootless -t cynkra/actions-runner:2-ubuntu-rootless --push .
## build locally
.PHONY: build-alpine-rootful
build-alpine-rootful:
docker buildx build --platform linux/arm64 -f images/Dockerfile-alpine-rootful -t cynkra/actions-runner:2.311.0-alpine-rootful -t cynkra/actions-runner:2-alpine-rootful --load .
.PHONY: build-alpine-rootless
build-alpine-rootless:
docker buildx build --platform linux/arm64 -f images/Dockerfile-alpine-rootless -t cynkra/actions-runner:2.311.0-alpine-rootless -t cynkra/actions-runner:2-alpine-rootless --load .
.PHONY: build-ubuntu-rootful
build-ubuntu-rootful:
docker buildx build --platform linux/arm64 -f images/Dockerfile-ubuntu-rootful -t cynkra/actions-runner:2.311.0-ubuntu-rootful -t cynkra/actions-runner:2-ubuntu-rootful --load .
.PHONY: build-ubuntu-rootless
build-ubuntu-rootless:
docker buildx build --platform linux/arm64 -f images/Dockerfile-ubuntu-rootless -t cynkra/actions-runner:2.311.0-ubuntu-rootless -t cynkra/actions-runner:2-ubuntu-rootless --load .