Skip to content
This repository was archived by the owner on May 25, 2024. It is now read-only.
This repository was archived by the owner on May 25, 2024. It is now read-only.

Set up automated deploys #5

@snorremd

Description

@snorremd

After building the new version of the image it should automatically be deployed to the server. This can be achieved by exposing the Docker socket to the GitHub action so that it can instruct the docker engine at api.ajanottaja.app to update the api service to the latest digest version.

In order to preserve security the docker engine tcp socket should not be directly exposed to the wider Internet. This remains true even when using credentials on the docker socket. Instead it is probably better to use Tailscale to connect the GitHub action to the api.ajanottaja.app server and then establish a local connection via Wireguard tunnelling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions