Skip to content

Commit

Permalink
Basic tcp proxy for cardano node port (#6)
Browse files Browse the repository at this point in the history
* feat(proxy): added basic tcp with tls

* chore(proxy): adjusted logs

* chore(operator): removed dockerfile
  • Loading branch information
paulobressan authored Feb 23, 2024
1 parent 233cfef commit 4531a56
Show file tree
Hide file tree
Showing 16 changed files with 556 additions and 196 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/controller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ on:
paths:
- ".github/workflows/controller.yml"
- "operator/**"

jobs:
build-images:
strategy:
fail-fast: false
matrix:
include:
- context: operator
file: operator/Dockerfile
endpoint: demeter-run/ext-cardano-node
- context: .
file: docker/dockerfile.operator
endpoint: demeter-run/ext-cardano-node-operator

continue-on-error: true
runs-on: ubuntu-latest
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/proxy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Proxy

on:
push:
branches:
- "main"
paths:
- ".github/workflows/proxy.yml"
- "proxy/**"

jobs:
build-images:
strategy:
fail-fast: false
matrix:
include:
- context: .
file: docker/dockerfile.proxy
endpoint: demeter-run/ext-cardano-node-proxy

continue-on-error: true
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v2
with:
context: ${{ matrix.context }}
file: ${{ matrix.file }}
platforms: linux/amd64
push: true
tags: ghcr.io/${{ matrix.endpoint }},ghcr.io/${{ matrix.endpoint }}:${{ github.sha }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
Loading

0 comments on commit 4531a56

Please sign in to comment.