Skip to content

chore(deps): update all non-major dependencies (#361) #93

chore(deps): update all non-major dependencies (#361)

chore(deps): update all non-major dependencies (#361) #93

name: Continuous Delivery
on:
push:
branches:
- main
paths:
- 'src/**'
- 'Dockerfile'
- '.github/workflows/continuous-delivery.yml'
workflow_dispatch:
jobs:
PublishArchAngel:
name: Publish ArchAngel image to container registries
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3.7.1
- name: Login to GitHub Container Registry
uses: docker/login-action@v3.3.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push ArchAngel Docker image
uses: docker/build-push-action@v6.9.0
with:
push: true
context: ./
file: Dockerfile
tags: ghcr.io/favware/archangel:latest
UpdateOnServer:
name: Update running container on server
runs-on: ubuntu-latest
needs: PublishArchAngel
steps:
- name: Update container on server
uses: favware/ssh-remote-action@v1
with:
host: ${{ secrets.SSH_HOST }}
port: ${{ secrets.SSH_PORT }}
key: ${{ secrets.SSH_KEY }}
passphrase: ${{ secrets.SSH_KEY_PASSPHRASE }}
username: ${{ secrets.SSH_USERNAME }}
command: ${{ secrets.SSH_COMMAND }}
silent: true