Skip to content

GitHub: improve error message when SSH key resolution fails. #29

GitHub: improve error message when SSH key resolution fails.

GitHub: improve error message when SSH key resolution fails. #29

Workflow file for this run

name: Build
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read # Checkout the code
packages: write # Push to GitHub registry
env:
IMAGE_NAME: rendezvous
IMAGE_REPO: ghcr.io/${{ github.repository_owner }}
VERSION: ${{ github.sha }}
jobs:
docker-build:
name: Build with Docker
runs-on: nscloud
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Buildx for Docker build
uses: docker/setup-buildx-action@v2
- name: Docker build the Rendezvous server
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ${{ env.IMAGE_REPO }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}
- name: Breakpoint on failure
if: failure()
uses: namespacelabs/breakpoint-action@v0
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
with:
duration: 30m
authorized-users: edganiukov,hugosantos,n-g,htr,nichtverstehen,gmichelo
slack-announce-channel: "#ci"