Skip to content

remove data-plane-gateway implementation and make it a simple proxy #152

remove data-plane-gateway implementation and make it a simple proxy

remove data-plane-gateway implementation and make it a simple proxy #152

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare
id: prep
run: |
TAG=$(echo $GITHUB_SHA | head -c7)
echo ::set-output name=tag::${TAG}
- name: Login to GitHub package docker registry
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | \
docker login --username ${{ github.actor }} --password-stdin ghcr.io
- name: Install Go deps
run: go mod download
- name: Build
run: go build -o data-plane-gateway
- name: Build Docker Image
uses: docker/build-push-action@v2
with:
context: .
load: true
tags: ghcr.io/estuary/data-plane-gateway:dev
- name: Push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ghcr.io/estuary/data-plane-gateway:${{ steps.prep.outputs.tag }}
- name: Push Docker image with 'dev' tag
if: ${{ github.event_name == 'push' }}
uses: docker/build-push-action@v2
with:
context: .
push: true # See 'if' above
tags: ghcr.io/estuary/data-plane-gateway:dev