How to do string subsitution on env var in makefile script – Docker
I have a makefile with the following script: build: DOCKER_BUILDKIT=1 docker build --build-arg GITHUB_ACTOR=${GITHUB_ACTOR} --build-arg GITHUB_TOKEN=${GITHUB_TOKEN} -t ${DOCKER_REGISTRY}/strick:${IMAGE_BRANCH}-${IMAGE_TAG} -t ${DOCKER_REGISTRY}/strick:${IMAGE_BRANCH}-latest . and I just realized that when ${IMAGE_BRANCH] has a slash in it, like feature/a-b-c then the docker build step…