Skip to content

Commit

Permalink
feat: Add CODEOWNERS and build docker images GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Nov 28, 2024
1 parent 2cce474 commit 5b14f9f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @delaneyj @bencroker
34 changes: 34 additions & 0 deletions .github/workflows/build-docker-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build Docker Images

on:
push:
branches: develop
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
env:
REGISTRY: ghcr.io
OWNER: starfederation
IMAGE_NAME: ${{ github.repository }}-dev
uses: docker/build-push-action@v4
with:
context: ./.github
file: ./Dockerfile-dev
target: final
push: true
tags: |
$REGISTRY/$OWNER/$IMAGE_NAME:$(date +%s)
build-args: |
ENVIRONMENT=development

0 comments on commit 5b14f9f

Please sign in to comment.