nicklhw / demo_app_a

Demonstration demo_app_a

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruby exampleapp

This content supports the hands on lab for the Vault GitHub Actions tutorial.

Docker image

Create a Docker image for the application and label it vault-action-exampleapp.

docker build . --file Dockerfile -t vault-action-exampleapp

View the contents of the app_secret file in the Docker image.

docker run vault-action-exampleapp /bin/bash -c "cat ./app_secret"

Create a Docker image for the application, label it vault-action-exampleapp, and override the secret.

docker build . \
    --file Dockerfile \
    --build-arg app_secret="SECRET_OVERRIDE" \
    -t vault-action-exampleapp

About

Demonstration demo_app_a


Languages

Language:Ruby 66.8%Language:Dockerfile 33.2%