Skip to content

Docker Image - Beta

Docker Image - Beta #2

name: Docker Image - Beta
on:
workflow_dispatch:
inputs:
branch:
description: 'Branch to create image off.'
required: true
default: 'ai-beta'
tag:
description: 'Name of the docker tag to create.'
required: true
default: 'ai-beta'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
ref: ${{ github.event.inputs.branch || 'ai-beta' }}
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/[email protected]
with:
username: chinaniu
password: ${{ secrets.CLOUDLADDER_BE }}
- name: Build and push
uses: docker/[email protected]
with:
context: .
file: ./deploy/docker/Dockerfile
build-args: |
N8N_RELEASE_TYPE=beta
platforms: linux/amd64,linux/arm64
provenance: false
push: true
tags: chinaniu/cloudladder_be:${{ github.event.inputs.tag || 'ai-beta' }}
no-cache: true