mirror of
https://github.com/deadcxap/YandexMusicDiscordBot.git
synced 2026-01-09 07:41:53 +03:00
badges for main and dev branches, latest-dev tag for dev builds
This commit is contained in:
7
.github/workflows/docker-image.yml
vendored
7
.github/workflows/docker-image.yml
vendored
@@ -43,3 +43,10 @@ jobs:
|
||||
docker pull $IMAGE_NAME:${{ github.ref_name }}-${{ steps.vars.outputs.short_sha }}
|
||||
docker tag $IMAGE_NAME:${{ github.ref_name }}-${{ steps.vars.outputs.short_sha }} $IMAGE_NAME:latest
|
||||
docker push $IMAGE_NAME:latest
|
||||
|
||||
- name: Set the latest tag for the dev branch
|
||||
if: github.ref == 'refs/heads/dev'
|
||||
run: |
|
||||
docker pull $IMAGE_NAME:${{ github.ref_name }}-${{ steps.vars.outputs.short_sha }}
|
||||
docker tag $IMAGE_NAME:${{ github.ref_name }}-${{ steps.vars.outputs.short_sha }} $IMAGE_NAME:latest-dev
|
||||
docker push $IMAGE_NAME:latest-dev
|
||||
@@ -78,7 +78,8 @@ MONGO_URI='mongodb://localhost:27017/' # Адрес сервера MongoDB
|
||||
|
||||
Запустите бота (`python ./MusicBot/main.py`).
|
||||
|
||||
## Запуск в Docker 
|
||||
## Запуск в Docker  
|
||||
|
||||
|
||||
Возможен запуск как из командной строки, так и с помощью docker-compose.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user