Skip to content

feat: add reverse proxy #3

feat: add reverse proxy

feat: add reverse proxy #3

Workflow file for this run

name: Container image build & push
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push LB image
uses: docker/build-push-action@v3
with:
file: ./Dockerfile.lb
platforms: linux/amd64,linux/arm64/v8
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/ctf-manager-api:latest
- name: Build and push API image
uses: docker/build-push-action@v3
with:
file: ./Dockerfile.api
platforms: linux/amd64,linux/arm64/v8
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/ctf-manager:latest