Skip to content

Docker Hub Release

Docker Hub Release #8

Workflow file for this run

name: Docker Hub Release
on:
workflow_run:
workflows: ["Build and Release with Nuitka"]
types:
- completed
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Get latest tag
id: get_latest_tag
run: echo "::set-output name=VERSION::$(git describe --tags --abbrev=0)"
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Setup Docker
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: Generate Tags
id: metadata
uses: docker/metadata-action@v4
with:
images: 1140601003/tguserclient
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
push: true
platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x
tags: 1140601003/tguserclient