/openfaas-haskell-container

Container for openfaas Haskell Lambda functions

Primary LanguageDockerfile

openfaas-haskell-container

Requirements

  • Docker version >= 20.10.7

GitHub Container Registry

This container is deployed to GitHub Container Registry.

Building the container

docker build -t ghcr.io/stackbuilders/openfaas-haskell-container:<tag> .

Current tag schema used: v0.1, v0.2, etc.

Authentication

Create a Personal Access Token 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:

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

docker push ghcr.io/stackbuilders/openfaas-haskell-container:<tag>

Pulling the container

docker pull ghcr.io/stackbuilders/openfaas-haskell-container:latest