Skip to content
This repository has been archived by the owner on Aug 17, 2024. It is now read-only.

Docker guacd Build

Docker guacd Build #13

Workflow file for this run

name: Docker guacd Build
on:
workflow_dispatch:
jobs:
DOCKERHUB_Guacd_Build:
name: Docker Guacd Build
runs-on: ubuntu-latest
steps:
- name: Private Actions Checkout
uses: actions/[email protected]
- name: Docker Setup QEMU
uses: docker/[email protected]
- name: Docker Setup Buildx
uses: docker/[email protected]
- name: Docker Login
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Docker Aliyun Login
uses: docker/[email protected]
with:
registry: registry.cn-beijing.aliyuncs.com
username: ${{ secrets.ALI_USERNAME }}
password: ${{ secrets.ALI_PASSWORD }}
- name: Build and push Docker images
uses: docker/[email protected]
with:
context: .
platforms: linux/arm64,linux/arm/v7,linux/amd64
file: guacd/Dockerfile
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/guacd:1.5.3
${{ secrets.DOCKERHUB_USERNAME }}/guacd:latest
registry.cn-beijing.aliyuncs.com/${{ secrets.DOCKERHUB_USERNAME }}/guacd:1.5.3
registry.cn-beijing.aliyuncs.com/${{ secrets.DOCKERHUB_USERNAME }}/guacd:latest
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/guacd:cache
cache-to: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/guacd:cache,mode=max