Skip to content

improved error reporting on commands (both slash and classic commands) #109

improved error reporting on commands (both slash and classic commands)

improved error reporting on commands (both slash and classic commands) #109

Workflow file for this run

name: Build and push Docker image
on:
push:
branches: [ master ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- id: compute-version-code
shell: bash
run: echo "release-version=$(echo ${GITHUB_SHA:0:8})" >> $GITHUB_OUTPUT
- name: Publish Docker
uses: elgohr/[email protected]
env:
HIGHLIGHTBOT_VERSION: ${{ steps.compute-version-code.outputs.release-version }}
with:
name: highlight-bot
context: HighlightBot
registry: ${{ secrets.REPO_URL }}
username: ${{ secrets.REPO_USER }}
password: ${{ secrets.REPO_PASSWD }}
default_branch: master
no_push: ${{ github.event_name == 'pull_request' }}
buildargs: HIGHLIGHTBOT_VERSION