Skip to content

[fix] Dockerfile: set tdlib version by ARG (#495) #62

[fix] Dockerfile: set tdlib version by ARG (#495)

[fix] Dockerfile: set tdlib version by ARG (#495) #62

Workflow file for this run

name: DOCKER
on:
push:
branches:
- 'master'
paths:
- 'etc/Dockerfile'
- 'server/*'
jobs:
docker-amd64:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
context: .
file: etc/Dockerfile
platforms: linux/amd64
push: true
tags: zevlg/telega-server:latest
docker-arm64:
if: false
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
context: .
file: etc/Dockerfile
platforms: linux/arm64/v8
push: true
tags: zevlg/telega-server:latest