Skip to content

Updated to telegram bots 7.2.0 #17

Updated to telegram bots 7.2.0

Updated to telegram bots 7.2.0 #17

Workflow file for this run

name: Docker Image CI
on:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Test with Gradle
run: ./gradlew test
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build -t docker.pkg.github.com/unafraid/exampletelegrambot/bot .
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: docker.pkg.github.com/unafraid/exampletelegrambot/bot
registry: docker.pkg.github.com
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}