-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add
CODEOWNERS
and build docker images GH action
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @delaneyj @bencroker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |