Podman Run #5
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
name: Podman Run | |
on: | |
workflow_run: | |
workflows: | |
- Docker | |
types: | |
- completed | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: ssh and podman run | |
uses: appleboy/[email protected] | |
with: | |
host: ${{ secrets.HOST }} | |
username: ${{ secrets.USERNAME }} | |
password: ${{ secrets.PASSWORD }} | |
script: | | |
podman stop binder | |
podman rm binder | |
podman run --name binder -dt -p 3000:3000/tcp ghcr.io/sc0v/binder:master | |