Skip to content

Fixed entrypoint.sh path #2

Fixed entrypoint.sh path

Fixed entrypoint.sh path #2

#
# Copyright (c) https://github.com/gOOvER/own-pterodactyl-images/blob/main/LICENSE
#
name: DisBot Docker Builder (DisBot)
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
schedule:
- cron: "0 0 * * 1"
push:
branches:
- main
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
jobs:
push:
name: "DisBot Builder"
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
strategy:
fail-fast: false
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/DisBotDockerfile
platforms: linux/amd64
push: true
tags: |
ghcr.io/disbotdevelopment/disbot-bot:${{ steps.package-version.outputs.current-version}}
ghcr.io/disbotdevelopment/disbot-bot:latest