Skip to content

keventmesh/ai-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building and pushing images

Just use the existing GitHub Actions workflows, by passing some environment variables.

Install act (https://github.com/nektos/act) first.

Create a .build.secrets file with the following content:

# get a token by running `gh auth token`
GITHUB_TOKEN=...
# if you're using Quay, make sure you have a robot account with push permissions
REGISTRY_USERNAME=...
REGISTRY_PASSWORD=...

Define your container registry and your tag:

export DOCKER_REPO_OVERRIDE="quay.io/kevent-mesh"
export AI_DEMO_IMAGE_TAG="my-tag"
# reuse the local build container - some stuff will be cached - faster builds
# do not copy files that are ignored by Git
# Change `--remote-name=origin` if that's how your upstream Git remote is named
act --job=build \
  --env DOCKER_REPO_OVERRIDE=${DOCKER_REPO_OVERRIDE} \
  --env AI_DEMO_IMAGE_TAG=${AI_DEMO_IMAGE_TAG} \
  --secret-file=.build.secrets \
  --reuse=true \
  --use-gitignore=true \
  --remote-name=origin    

Deploying

export DOCKER_REPO_OVERRIDE="quay.io/kevent-mesh"
export AI_DEMO_IMAGE_TAG="my-tag"

./infra/openshift-manifests/install.sh

About

An AI demo featuring Knative Event Mesh

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy