https://github.com/stackbuilders/openfaas-haskell-container
Container for openfaas Haskell Lambda functions
https://github.com/stackbuilders/openfaas-haskell-container
Last synced: 6 months ago
JSON representation
Container for openfaas Haskell Lambda functions
- Host: GitHub
- URL: https://github.com/stackbuilders/openfaas-haskell-container
- Owner: stackbuilders
- Created: 2022-05-05T21:20:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-13T15:21:49.000Z (over 3 years ago)
- Last Synced: 2025-01-23T04:32:41.159Z (about 1 year ago)
- Language: Dockerfile
- Size: 10.7 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# openfaas-haskell-container
## Requirements
- Docker version >= 20.10.7
## GitHub Container Registry
This container is deployed to GitHub Container Registry.
### Building the container
```shell
docker build -t ghcr.io/stackbuilders/openfaas-haskell-container: .
```
Current tag schema used: v0.1, v0.2, etc.
### Authentication
Create a [Personal Access Token][pat] in the GitHub user account. It is recommended to store the PAT as an environment variable. Use the access token to login in your current development environment with:
```shell
docker login ghcr.io -u USERNAME -p PAT
```
The username is the same as the GitHub account user. The password corresponds to the access token.
### Uploading the container
```shell
docker push ghcr.io/stackbuilders/openfaas-haskell-container:
```
### Pulling the container
```shell
docker pull ghcr.io/stackbuilders/openfaas-haskell-container:latest
```
[pat]: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token