Skip to content

bump version

bump version #47

name: Build DisBot Docker Image (EntryPoint)
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
push:
tags:
- v.*
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
jobs:
build:
name: " Build DisBot Docker Image (EntryPoint)"
if: "!contains(github.ref, '-dev')"
permissions:
contents: read
packages: write
id-token: write
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: get-npm-version
id: package-version
uses: martinbeentjes/[email protected]
with:
path: .
- uses: docker/setup-qemu-action@v3
- name: install libs
# pkg-config
run: sudo apt-get update -y && sudo add-apt-repository ppa:deadsnakes/ppa -y && sudo apt update && sudo apt install python3.13 -y && sudo apt install pkgconf build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev -y && python3 --version
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v5
with:
context: .
file: docker/DisBotDockerfileWithEntry
platforms: linux/amd64
push: true
tags: |
ghcr.io/disbotdevelopment/disbot-bot:${{ steps.package-version.outputs.current-version}}-with-entry
ghcr.io/disbotdevelopment/disbot-bot:latest-with-entry