Skip to content

Commit

Permalink
Merge pull request #127 from terasakisatoshi/pull-mac-tag4macuser
Browse files Browse the repository at this point in the history
use mac tag if your device is mac
  • Loading branch information
terasakisatoshi committed Jun 1, 2020
2 parents 68305a2 + 8341836 commit e844da7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
.phony : all, pull, build, atom, web, clean

OS:=$(shell uname -s)
TAG=latest
DOCKERIMAGE=myworkflowjl

ifeq ($(OS), Linux)
TAG=latest
REMOTE_DOCKER_REPOSITORY:=terasakisatoshi/${DOCKERIMAGE}:${TAG}
endif
ifeq ($(OS), Darwin)
TAG=mac
REMOTE_DOCKER_REPOSITORY:=terasakisatoshi/${DOCKERIMAGE}:${TAG}
endif

all: pull

Expand Down

0 comments on commit e844da7

Please sign in to comment.