1.1.99.0 alpha version with tcp stream and websocket #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ce workflow utilise des actions qui ne sont pas certifiées par GitHub. | |
# Elles sont fournies par un tiers et régies par | |
# des conditions d’utilisation du service, une politique de confidentialité et un support distincts. | |
# documentation en ligne. | |
# GitHub recommande d’épingler les actions à un SHA de commit. | |
# Pour obtenir une version plus récente, vous devez mettre à jour le SHA. | |
# Vous pouvez également référencer une balise ou une branche, mais l’action peut changer sans avertissement. | |
name: Publish amd64/arm64 to docker Hub | |
on: | |
release: | |
types: [published] | |
workflow_dispatch: | |
jobs: | |
push_to_registry: | |
name: Push Docker image to Docker Hub | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: 'arm64' | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Extract metadata (tags, labels) for Docker | |
id: meta | |
uses: docker/metadata-action@v5 | |
with: | |
images: eltorio/sctgdesk-server | |
- name: Build and push Docker image | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
platforms: linux/arm64, linux/amd64 | |
push: true | |
tags: eltorio/sctgdesk-server-alpha:${{ github.ref_name }},eltorio/sctgdesk-server-alpha:latest | |
labels: ${{ steps.meta.outputs.labels }} | |