Skip to content

Instantly share code, notes, and snippets.

@jmrobles
Created December 20, 2020 15:00
Show Gist options
  • Save jmrobles/805c6ca086a99bdef3cfa199486ac1f7 to your computer and use it in GitHub Desktop.
Save jmrobles/805c6ca086a99bdef3cfa199486ac1f7 to your computer and use it in GitHub Desktop.
stages:
- name: Publish - Landing
when:
branch: master
steps:
- publishImageConfig:
dockerfilePath: ./Dockerfile
buildContext: .
tag: my-landing:${CICD_EXECUTION_SEQUENCE}
pushRemote: true
registry: registry.example.com
- name: Deployment - Landing
when:
branch: master
steps:
- applyYamlConfig:
path: ./deployment.yaml
- name: Ingress - Landing
when:
branch: master
steps:
- applyYamlConfig:
path: ./ingress.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment