Skip to content

proxy info

proxy info #49

name: Build and push API as container
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Login and push with Podman
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | \
podman login ghcr.io \
--username ${{ github.actor }} \
--password-stdin
podman build -t ghcr.io/${{ github.repository }}:latest .
podman push ghcr.io/${{ github.repository }}:latest
podman build -t ghcr.io/${{ github.repository }}-proxy:latest ./Sidecar.Proxy
podman push ghcr.io/${{ github.repository }}-proxy:latest
podman build -t ghcr.io/${{ github.repository }}-s3proxy:latest ./Sidecar.S3Proxy
podman push ghcr.io/${{ github.repository }}-s3proxy:latest
podman build -t ghcr.io/${{ github.repository }}-otelcol:latest ./Sidecar.OpenTelemetry
podman push ghcr.io/${{ github.repository }}-otelcol:latest