mirror of
https://github.com/PaiGramTeam/telegram-bot-api-build.git
synced 2024-11-25 01:21:50 +00:00
Bump ustream & try to enable pipeline
This commit is contained in:
parent
6ca4fe98b5
commit
d63069c6e4
20
.github/workflows/docker-image.yml
vendored
20
.github/workflows/docker-image.yml
vendored
@ -1,9 +1,9 @@
|
||||
name: Docker Image
|
||||
|
||||
on: []
|
||||
# push:
|
||||
# branches:
|
||||
# - master
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
multi:
|
||||
@ -17,11 +17,11 @@ jobs:
|
||||
uses: docker/setup-qemu-action@v1
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
# - name: Login to DockerHub
|
||||
# uses: docker/login-action@v1
|
||||
# with:
|
||||
# username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
# password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Get current time
|
||||
uses: 1466587594/get-current-time@v2
|
||||
id: current-time
|
||||
@ -33,7 +33,7 @@ jobs:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x
|
||||
push: true
|
||||
push: false
|
||||
tags: |
|
||||
aiogram/telegram-bot-api:latest
|
||||
aiogram/telegram-bot-api:${{ steps.current-time.outputs.formattedTime }}
|
||||
|
2
Makefile
2
Makefile
@ -15,5 +15,5 @@ publish:
|
||||
docker push $(image_name):$(image_tag)
|
||||
docker push $(image_name):latest
|
||||
|
||||
.PHONY: relese
|
||||
.PHONY: release
|
||||
release: update build publish
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit f5ab6870b25741cd4459fc46b4fe5861d993e499
|
||||
Subproject commit 4c3478f3a375f132141bee7ab79f4d1034d0fdcf
|
Loading…
Reference in New Issue
Block a user