Skip to content

chore: binaries and github actions #7

chore: binaries and github actions

chore: binaries and github actions #7

Workflow file for this run

name: build
on:
push:
branches:
- feature/*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- run: rustup component add rustfmt clippy
- name: cargo build
run: cargo build
publish:
runs-on: ubuntu-latest
needs: build
if: needs.build.result == 'success'
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.AMN_PAT }}
- name: Build the chronos Docker image
run: |
working-directory: ./app
ls -la
# docker build -f Dockerfile.chronos . --tag ghcr.io/kindredgroup/chronos:latest
# docker push ghcr.io/kindredgroup/chronos:latest