Skip to content

Instantly share code, notes, and snippets.

@dylwylie
Created August 19, 2020 17:00
Show Gist options
  • Save dylwylie/c3cdb86ae44adb4f95480c2d80f27fc2 to your computer and use it in GitHub Desktop.
Save dylwylie/c3cdb86ae44adb4f95480c2d80f27fc2 to your computer and use it in GitHub Desktop.
apiVersion: kbld.k14s.io/v1alpha1
kind: Sources
metadata:
name: test_app
namespace: default
sources:
- image: test_app
path: ../components/test_app
docker:
build:
file: etc/Dockerfile
---
apiVersion: kbld.k14s.io/v1alpha1
kind: ImageDestinations
metadata:
name: test_app
namespace: default
destinations:
- image: test_app
newImage: {removed_account_id}.dkr.ecr.us-east-2.amazonaws.com/dylan/app
---
apiVersion: kbld.k14s.io/v1alpha1
kind: Config
metadata:
name: test_app
namespace: default
minimumRequiredVersion: 0.15.0
searchRules:
- keyMatcher:
name: IMAGE_DIGEST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment