Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 724 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 724 Bytes

Exampleapp in Ruby

These assets are provided to perform the tasks described in the Vault GitHub Action 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 and label it vault-action-exampleapp and override the secret.

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