Disable daily images. Keep only latest and API version

This commit is contained in:
Alex Root Junior 2020-11-30 11:20:10 +02:00
parent 4fbffc2371
commit 844c758d4d

View File

@ -28,11 +28,11 @@ jobs:
with: with:
username: ${{ secrets.DOCKERHUB_LOGIN }} username: ${{ secrets.DOCKERHUB_LOGIN }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Get current time # - name: Get current time
uses: 1466587594/get-current-time@v2 # uses: 1466587594/get-current-time@v2
id: current-time # id: current-time
with: # with:
format: YYYYMMDD # format: YYYYMMDD
- name: Set version - name: Set version
id: current-version id: current-version
run: | run: |
@ -48,5 +48,5 @@ jobs:
push: true push: true
tags: | tags: |
aiogram/telegram-bot-api:latest aiogram/telegram-bot-api:latest
aiogram/telegram-bot-api:${{ steps.current-time.outputs.formattedTime }}
aiogram/telegram-bot-api:${{ env.TG_SERVER_VERSION }} aiogram/telegram-bot-api:${{ env.TG_SERVER_VERSION }}
# aiogram/telegram-bot-api:${{ steps.current-time.outputs.formattedTime }}