mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 22:21:22 -07:00
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
name: 'Release Sandbox'
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
ref:
|
|
description: 'The branch, tag, or SHA to release from.'
|
|
required: false
|
|
type: 'string'
|
|
default: 'main'
|
|
dry-run:
|
|
description: 'Whether this is a dry run.'
|
|
required: false
|
|
type: 'boolean'
|
|
default: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: 'ubuntu-latest'
|
|
steps:
|
|
- name: 'Checkout'
|
|
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8'
|
|
with:
|
|
ref: '${{ github.event.inputs.ref || github.sha }}'
|
|
fetch-depth: 0
|
|
- name: 'Push'
|
|
uses: './.github/actions/push-sandbox'
|
|
with:
|
|
dockerhub-username: '${{ secrets.DOCKER_SERVICE_ACCOUNT_NAME }}'
|
|
dockerhub-token: '${{ secrets.DOCKER_SERVICE_ACCOUNT_KEY }}'
|
|
github-actor: '${{ github.actor }}'
|
|
github-secret: '${{ secrets.GITHUB_TOKEN }}'
|
|
github-sha: '${{ github.sha }}'
|
|
github-ref-name: '${{github.event.inputs.ref}}'
|
|
dry-run: '${{ github.event.inputs.dry-run }}'
|