mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[ci] rename workflow & add cache
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: ci
|
name: Build on Push
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -37,6 +37,8 @@ jobs:
|
|||||||
push: ${{ github.ref == 'refs/heads/dev' }}
|
push: ${{ github.ref == 'refs/heads/dev' }}
|
||||||
tags: ${{ secrets.REGISTRY_URL }}/west/telegram-bot:latest,
|
tags: ${{ secrets.REGISTRY_URL }}/west/telegram-bot:latest,
|
||||||
${{ secrets.REGISTRY_URL }}/west/telegram-bot:${{ steps.commit_sha.outputs.sha_short }}
|
${{ secrets.REGISTRY_URL }}/west/telegram-bot:${{ steps.commit_sha.outputs.sha_short }}
|
||||||
|
cache-from: type=gha
|
||||||
|
cache-to: type=gha,mode=max
|
||||||
#-
|
#-
|
||||||
# name: Redeploy container
|
# name: Redeploy container
|
||||||
# uses: fjogeleit/http-request-action@v1
|
# uses: fjogeleit/http-request-action@v1
|
||||||
|
|||||||
Reference in New Issue
Block a user