https://github.com/thiskevinwang/waypoint-github-actions-test
Demo of using https://github.com/hashicorp/waypoint with https://github.com/thiskevinwang/waypoint-plugin-nixpacks in GitHub actions
https://github.com/thiskevinwang/waypoint-github-actions-test
githubactions hashicorp nixpacks waypoint
Last synced: 10 months ago
JSON representation
Demo of using https://github.com/hashicorp/waypoint with https://github.com/thiskevinwang/waypoint-plugin-nixpacks in GitHub actions
- Host: GitHub
- URL: https://github.com/thiskevinwang/waypoint-github-actions-test
- Owner: thiskevinwang
- Created: 2023-02-20T20:42:03.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-21T02:07:52.000Z (almost 3 years ago)
- Last Synced: 2025-01-16T16:48:45.242Z (11 months ago)
- Topics: githubactions, hashicorp, nixpacks, waypoint
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

This repository is a proof-of-concept for...
1. Using [`waypoint`][waypoint] in GitHub actions
- Using a Waypoint server hosted on [HCP](https://portal.cloud.hashicorp.com/)
- Using a GitHub actions runner as a Waypoint runner
1. Building [`waypoint-plugin-nixpacks`][wpn] in GitHub actions
1. Using [`waypoint`][waypoint] + [`waypoint-plugin-nixpacks`][wpn] to build a sample app, and publish the build image to [DockerHub](https://hub.docker.com/r/thekevinwang/express-nixpacks-example)
[wpn]: https://github.com/thiskevinwang/waypoint-plugin-nixpacks
[waypoint]: https://developer.hashicorp.com/waypoint
The [workflow file](./.github/workflows/workflow_dispatch.yml) relies on 4 repository [secrets][secrets] (Note: [variables][variables] can be used for the non-sensitive values):
- `DOCKERHUB_TOKEN`
- `DOCKERHUB_USERNAME` (not sensitive)
- `WAYPOINT_SERVER_ADDR` (not sensitive)
- `WAYPOINT_SERVER_TOKEN`
[secrets]: https://docs.github.com/en/actions/security-guides/encrypted-secrets
[variables]: https://docs.github.com/en/actions/learn-github-actions/variables