Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xenitab/github-actions

Shared GitHub Actions
https://github.com/xenitab/github-actions

github-actions xenit-kubernetes-framework

Last synced: about 1 month ago
JSON representation

Shared GitHub Actions

Awesome Lists containing this project

README

        

# github-actions

This repo builds a Docker image which collects tooling used to setup environments. It serves as documentation of what tools and what versions are in use. Currently it contains primarily:

- Terraform
- Packer

## Using

A [template](./docker/template) for starting a new Terraform IaC repository.

## Building

Build the tooling image:s

```shell
docker build -t dev docker/
```

## Releasing

In order to push a new image to the container registry, you create a new release from the GitHub UI or via the API. The publish release event will trigger a GitHub pipeline that deploys the container from the release tag.

If you need to push a custom image to the registry, you need to go to your GitHub [personal access tokens](https://github.com/settings/tokens) page and create an access token. That token is your password when logging in:

```shell
docker login ghcr.io --username
docker build -t ghcr.io/xenitab/github-actions/tools: ./docker
docker push ghcr.io/xenitab/github-actions/tools:
```