mirror of
https://github.com/InsanusMokrassar/ConfigurableInlineTelegramBot.git
synced 2024-11-23 02:28:49 +00:00
Compare commits
1 Commits
c04a8175c8
...
822db34529
Author | SHA1 | Date | |
---|---|---|---|
|
822db34529 |
56
.github/workflows/build_and_publish_docker.yml
vendored
56
.github/workflows/build_and_publish_docker.yml
vendored
@ -1,28 +1,28 @@
|
||||
name: Publish Docker image
|
||||
on: [push]
|
||||
jobs:
|
||||
push_to_registry:
|
||||
name: Push Docker image to Docker Hub
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v2
|
||||
- uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 11
|
||||
- name: Build
|
||||
run: ./gradlew build
|
||||
- name: Docker meta
|
||||
id: docker_meta
|
||||
uses: crazy-max/ghaction-docker-meta@v1
|
||||
with:
|
||||
images: name/app
|
||||
tag-sha: true
|
||||
tag-latest: false
|
||||
- name: Push to Docker Hub
|
||||
uses: docker/build-push-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
context: .
|
||||
tags: ${{ steps.docker_meta.outputs.tags }}
|
||||
#name: Publish Docker image
|
||||
#on: [push]
|
||||
#jobs:
|
||||
# push_to_registry:
|
||||
# name: Push Docker image to Docker Hub
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - name: Check out the repo
|
||||
# uses: actions/checkout@v2
|
||||
# - uses: actions/setup-java@v1
|
||||
# with:
|
||||
# java-version: 1.8
|
||||
# - name: Build
|
||||
# run: ./gradlew build
|
||||
# - name: Docker meta
|
||||
# id: docker_meta
|
||||
# uses: crazy-max/ghaction-docker-meta@v1
|
||||
# with:
|
||||
# images: name/app
|
||||
# tag-sha: true
|
||||
# tag-latest: false
|
||||
# - name: Push to Docker Hub
|
||||
# uses: docker/build-push-action@v1
|
||||
# with:
|
||||
# username: ${{ secrets.DOCKER_USERNAME }}
|
||||
# password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
# context: .
|
||||
# tags: ${{ steps.docker_meta.outputs.tags }}
|
||||
|
@ -2,7 +2,7 @@ kotlin.code.style=official
|
||||
kotlin_version=1.6.10
|
||||
|
||||
telegram_bot_api_version=0.38.12
|
||||
ktor_version=2.0.1
|
||||
ktor_version=2.0.0
|
||||
|
||||
library_version=0.0.2
|
||||
library_group=dev.inmo
|
||||
|
Loading…
Reference in New Issue
Block a user