Skip to content
This repository has been archived by the owner on Jan 3, 2022. It is now read-only.

frostebite/File-To-Base64

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

A very simple github action to base64 encode a file

Uses this npm package https://www.npmjs.com/package/file-base64

example:

steps:
- uses: frostebite/File-To-Base64@master
  id: base64Config
  with:
    - filePath: ~/.kube/config

output can then be used:

steps:
- uses: frostebite/File-To-Base64@master
  id: base64Config
  with:
    - filePath: ~/.kube/config
- uses: frostebite/kubernetes-download-pv@master
  with:
    kubernetesBase64Config: ${{ steps.base64Config.outputs.base64 }}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published