A GitHub Action to build, push, and publish TalkOps Extension.
The talkops-extension GitHub Action automates the process of building, pushing, and publishing Docker images for the TalkOps Extension. It performs the following steps:
- Checkout Repository: Clones the repository to the runner.
- Set up QEMU: Initializes QEMU for cross-platform builds.
- Set up Docker Buildx: Configures Docker Buildx with the
docker-containerdriver for multi-platform support. - Authenticate with GHCR: Logs into the GitHub Container Registry (GHCR) using the provided credentials.
- Extract Docker Image Tag: Determines the Docker image tag from the current GitHub tag reference.
- Build and Push Docker Image: Builds and pushes the Docker image to GHCR for multiple platforms.
- Notify GitHub ETL: Sends a notification to the GitHub ETL with repository and tag information.
To use this action in your repository, add it to your workflow file:
name: TalkOps Extension
on:
push:
tags:
- 'v*'
jobs:
talkops:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: talkops/extension@v1