Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

IBM/beacon-for-ibm-dotcom-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

beacon-for-ibm-dotcom-api

Beacon for IBM.com Web API

Build and deploy the Docker image

Set environment

export IMAGE_NAME=beacon-for-ibm-dotcom
export IMAGE_VERSION=0.1.0  <--- Bump to the next version

Build the image

docker build -t $IMAGE_NAME:$IMAGE_VERSION .

Test the image

docker run -p 49160:8080 -d $IMAGE_NAME:$IMAGE_VERSION

then go to: http://localhost:49160?url=https://www.ibm.com

Tag and push the image

# Set the repo URL
export REPO_URL=dbg-dds-beacon-docker-local.artifactory.swg-devops.com

docker tag $IMAGE_NAME:$IMAGE_VERSION $REPO_URL/$IMAGE_NAME:$IMAGE_VERSION

# log in if you haven't done so already
docker login $REPO_URL

# push the image
docker push $REPO_URL/$IMAGE_NAME:$IMAGE_VERSION

Push to IBM Cloud

CF_DOCKER_PASSWORD=<YOUR-PASSWORD> ibmcloud cf push beacon-for-ibm-dotcom-api -f manifest.yml

Releases

No releases published

Packages

No packages published