Skip to content

Add endpoint for build info #49

Add endpoint for build info

Add endpoint for build info #49

name: Build and push container images
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- name: docker-compose build
run: docker-compose -f docker-compose.yml -f docker-compose.ci.yml build
env:
DOCKER_BUILDKIT: 1
GIT_COMMIT_HASH: ${{ github.sha }}
- name: login to registry
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u circlesabound --password-stdin
- name: push agent
run: docker push ghcr.io/circlesabound/fctrl/agent:latest
- name: push mgmt-server
run: docker push ghcr.io/circlesabound/fctrl/mgmt-server:latest