Skip to content

Deploy images

Deploy images #22

Workflow file for this run

name: Deploy images
on:
workflow_dispatch:
inputs:
image:
description: 'Image to deploy, leave empty for all'
required: false
concurrency:
group: deploy-images
cancel-in-progress: true
jobs:
deploy:
environment:
name: images
runs-on: ubuntu-latest
steps:
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.MESTRA_KEY }}
known_hosts: ${{ secrets.MESTRA_HOST }}
- name: Run deploy
run: |
echo "deploy images ${{ github.event.inputs.image }}" | ssh -p 4840 [email protected]