Last active
January 6, 2022 15:49
-
-
Save pentago/313fe01d6b8542f9767a53e09ed72041 to your computer and use it in GitHub Desktop.
skaffold.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: skaffold/v2beta26 | |
kind: Config | |
profiles: | |
- name: dev | |
activation: | |
- env: ARCH=amd64 | |
command: dev | |
build: | |
local: | |
push: false | |
useDockerCLI: true | |
useBuildkit: true | |
concurrency: 0 | |
tagPolicy: | |
gitCommit: | |
variant: AbbrevCommitSha | |
artifacts: | |
- image: app | |
context: ../../app | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/amd64'] | |
- image: puppeteer | |
context: ../../puppeteer | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/amd64'] | |
- image: admin | |
context: ../../admin | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/amd64'] | |
deploy: | |
kustomize: | |
buildArgs: | |
- '--load-restrictor LoadRestrictionsNone' | |
paths: | |
- ../../app-config/environment/skaffold | |
- ../../puppeteer-config/environment/skaffold | |
- ../../admin-config/environment/skaffold | |
- name: development | |
activation: | |
- env: ARCH=amd64 | |
command: development | |
build: | |
local: | |
push: false | |
useDockerCLI: true | |
useBuildkit: true | |
concurrency: 0 | |
tagPolicy: | |
gitCommit: | |
variant: AbbrevCommitSha | |
artifacts: | |
- image: app | |
context: ../../app | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/amd64'] | |
- image: puppeteer | |
context: ../../puppeteer | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/amd64'] | |
- image: admin | |
context: ../../admin | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/amd64'] | |
deploy: | |
kustomize: | |
buildArgs: | |
- '--load-restrictor LoadRestrictionsNone' | |
paths: | |
- ../../app-config/environment/dev | |
- ../../puppeteer-config/environment/dev | |
- ../../admin-config/environment/dev | |
- name: staging | |
activation: | |
- env: ARCH=amd64 | |
command: staging | |
build: | |
local: | |
push: false | |
useDockerCLI: true | |
useBuildkit: true | |
concurrency: 0 | |
tagPolicy: | |
gitCommit: | |
variant: AbbrevCommitSha | |
artifacts: | |
- image: app | |
context: ../../app | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/amd64'] | |
- image: puppeteer | |
context: ../../puppeteer | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/amd64'] | |
- image: admin | |
context: ../../admin | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/amd64'] | |
deploy: | |
kustomize: | |
buildArgs: | |
- '--load-restrictor LoadRestrictionsNone' | |
paths: | |
- ../../app-config/environment/staging | |
- ../../puppeteer-config/environment/staging | |
- name: production | |
activation: | |
- env: ARCH=amd64 | |
command: production | |
build: | |
local: | |
push: false | |
useDockerCLI: true | |
useBuildkit: true | |
concurrency: 0 | |
tagPolicy: | |
gitCommit: | |
variant: AbbrevCommitSha | |
artifacts: | |
- image: app | |
context: ../../app | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/amd64'] | |
- image: puppeteer | |
context: ../../puppeteer | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/amd64'] | |
- image: admin | |
context: ../../admin | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/amd64'] | |
deploy: | |
kustomize: | |
buildArgs: | |
- '--load-restrictor LoadRestrictionsNone' | |
paths: | |
- ../../app-config/environment/production | |
- ../../puppeteer-config/environment/production | |
- ../../admin-config/environment/production | |
- name: dev-arm | |
activation: | |
- env: ARCH=arm64 | |
command: dev | |
build: | |
local: | |
push: false | |
useDockerCLI: true | |
useBuildkit: true | |
concurrency: 0 | |
tagPolicy: | |
gitCommit: | |
variant: AbbrevCommitSha | |
artifacts: | |
- image: app | |
context: ../../app | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/arm64'] | |
- image: puppeteer | |
context: ../../puppeteer | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/arm64'] | |
- image: admin | |
context: ../../admin | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/arm64'] | |
deploy: | |
kustomize: | |
buildArgs: | |
- '--load-restrictor LoadRestrictionsNone' | |
paths: | |
- ../../app-config/environment/skaffold | |
- ../../puppeteer-config/environment/skaffold | |
- ../../admin-config/environment/skaffold | |
- name: development-arm | |
activation: | |
- env: ARCH=arm64 | |
command: development | |
build: | |
local: | |
push: false | |
useDockerCLI: true | |
useBuildkit: true | |
concurrency: 0 | |
tagPolicy: | |
gitCommit: | |
variant: AbbrevCommitSha | |
artifacts: | |
- image: app | |
context: ../../app | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/arm64'] | |
- image: puppeteer | |
context: ../../puppeteer | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/arm64'] | |
- image: admin | |
context: ../../admin | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/arm64'] | |
deploy: | |
kustomize: | |
buildArgs: | |
- '--load-restrictor LoadRestrictionsNone' | |
paths: | |
- ../../app-config/environment/dev | |
- ../../puppeteer-config/environment/dev | |
- ../../admin-config/environment/dev | |
- name: staging-arm | |
activation: | |
- env: ARCH=arm64 | |
command: staging | |
build: | |
local: | |
push: false | |
useDockerCLI: true | |
useBuildkit: true | |
concurrency: 0 | |
tagPolicy: | |
gitCommit: | |
variant: AbbrevCommitSha | |
artifacts: | |
- image: app | |
context: ../../app | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/arm64'] | |
- image: puppeteer | |
context: ../../puppeteer | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/arm64'] | |
- image: admin | |
context: ../../admin | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/arm64'] | |
deploy: | |
kustomize: | |
buildArgs: | |
- '--load-restrictor LoadRestrictionsNone' | |
paths: | |
- ../../app-config/environment/staging | |
- ../../puppeteer-config/environment/staging | |
- name: production-arm | |
activation: | |
- env: ARCH=arm64 | |
command: production | |
build: | |
local: | |
push: false | |
useDockerCLI: true | |
useBuildkit: true | |
concurrency: 0 | |
tagPolicy: | |
gitCommit: | |
variant: AbbrevCommitSha | |
artifacts: | |
- image: app | |
context: ../../app | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/arm64'] | |
- image: puppeteer | |
context: ../../puppeteer | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/arm64'] | |
- image: admin | |
context: ../../admin | |
docker: | |
dockerfile: Dockerfile | |
cliFlags: ['--platform', 'linux/arm64'] | |
deploy: | |
kustomize: | |
buildArgs: | |
- '--load-restrictor LoadRestrictionsNone' | |
paths: | |
- ../../app-config/environment/production | |
- ../../puppeteer-config/environment/production | |
- ../../admin-config/environment/production |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment