Skip to content

Commit

Permalink
feat: add building docker image in ci (#15)
Browse files Browse the repository at this point in the history
* docs: change jekyll theme

* fix: readme and ci builds
  • Loading branch information
Abhishekvrshny authored Nov 24, 2024
1 parent d22498e commit 775a7c4
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 4 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build and Publish Docker Image

on:
push:
branches:
- main

jobs:
build-and-push:
needs: checks
runs-on: ubuntu-latest
name: build and publish
steps:
- name: Checkout code
uses: actions/checkout@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Log in to Quay.io
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: quay.io/abhishekvrshny/propeller:latest
2 changes: 0 additions & 2 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ jobs:
- name: checkout
id: checkout
uses: actions/checkout@v1
with:
submodules: true
- name: install prerequisites
run: |
apk add --update --no-cache --repository https://dl-4.alpinelinux.org/alpine/latest-stable/community/ build-base gcc make git librdkafka-dev pkgconf curl
Expand Down
7 changes: 5 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
# Propeller
# Propeller 𖣘
[![Go Report Card](https://goreportcard.com/badge/github.com/CRED-CLUB/propeller)](https://goreportcard.com/report/github.com/CRED-CLUB/propeller)
[![CHECKS](https://github.com/CRED-CLUB/propeller/actions/workflows/checks.yaml/badge.svg)](https://github.com/CRED-CLUB/propeller/actions/workflows/checks.yaml/badge.svg)
[![GoDoc](https://godoc.org/github.com/CRED-CLUB/propeller?status.svg)](https://godoc.org/github.com/CRED-CLUB/propeller) <a href="https://starcharts.herokuapp.com/CRED-CLUB/propeller"><img alt="Stars" src="https://img.shields.io/github/stars/CRED-CLUB/propeller.svg?style=social"></a>

Propeller is a platform to enable bi-directional low latency communication between two systems. The primary use-case is to enable server side events to the app.

# Setting Up

## Pre-requisites
1. Docker
2. Go 1.21
2. Go 1.23
## Running the service

After cloning the repo, run `make help` to see list of all available commands
Expand Down

0 comments on commit 775a7c4

Please sign in to comment.