1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 13:23:07 +01:00

Adds support for multi-arch (#306)

* Uses experimental docker multi-arch

* Fixes dockerfile to build node and golang images

* Adds ldflags

* Adds buildx to push.yml

* Adds docker login

* Adds login in again

* Login using run

* Login using run

* Adds Makefile

* Updates actions

* Fixes push
This commit is contained in:
Amir Raminfar
2020-03-18 14:13:35 -07:00
committed by GitHub
parent 4bde14bd6c
commit 3a24c6e665
10 changed files with 129 additions and 61 deletions

6
Makefile Normal file
View File

@@ -0,0 +1,6 @@
TAG := $(shell git describe --tags)
PLATFROMS := linux/amd64,linux/arm64,linux/arm/v7
.PHONY: publish
publish:
docker buildx build --build-arg TAG=$(TAG) --platform $(PLATFROMS) -t amir20/test:latest -t amir20/test:$(TAG) --push .