Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (27 sloc) 882 Bytes
project: dino-park-whoami
env:
docker_registry: 320464205386.dkr.ecr.us-west-2.amazonaws.com
name: dino-park-whoami
rev: latest
tasks:
run-dev:
cmd: cargo run
compile-release:
cmd: cargo build --target x86_64-unknown-linux-musl --release
package-local:
cmd: |
$myke compile-release
$myke docker-local --rev={{ .rev }}
package:
cmd: $myke build
docker-local:
cmd:
docker build -t {{ .docker_registry }}/{{ .name }}:{{ .rev }} -f Dockerfile.local .
docker:
cmd: docker build -t {{ .docker_registry }}/{{ .name }}:{{ .rev }} -f Dockerfile .
push-image:
cmd: docker push {{ .docker_registry }}/{{ .name }}:{{ .rev }}
deploy:
cmd: |
helm template -f k8s/values.yaml -f k8s/values/{{ .deploy_env | required }}.yaml \
--set docker_registry={{ .docker_registry }},rev={{ .rev }} k8s/ | kubectl apply -f -
You can’t perform that action at this time.