-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (33 loc) · 764 Bytes
/
Makefile
File metadata and controls
42 lines (33 loc) · 764 Bytes
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
33
34
35
36
37
38
39
40
41
42
export MAINTAINER:=klud
export NAME:=gitlab-runner
export IMAGE:=$(MAINTAINER)/$(NAME)
export VERSION:=$(shell ./ci/version)
export ARCHS:="armhf aarch64"
all: version build push
all-arm64: version build-alpine push
help:
# General commands:
# make all => build push
# make version - show information about the current version
#
# Commands
# make build - build the Runner image
# make push - push the image to Docker Hub
version: FORCE
@echo "---"
@echo Version: $(VERSION)
@echo Image: $(IMAGE):$(VERSION)
@echo Platorms: $(ARCHS)
@echo ""
@echo Brought to you by ulm0
@echo "---"
build: build-alpine build-ubuntu
build-alpine:
@./ci/build-alpine
build-ubuntu:
@./ci/build-ubuntu
push:
@./ci/release
multi-arch:
@./ci/multi-arch
FORCE: