Skip to content

Commit

Permalink
Move repo out of beaker-kernel and clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
fivegrant committed Dec 1, 2023
0 parents commit e5ca53c
Show file tree
Hide file tree
Showing 9 changed files with 2,871 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/integration-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
# Automatically adds issues to the Integration Github project
# if the issue is tagged with `integration`

name: Add integration tasks to Integration project

on:
issues:
types:
- reopened
- opened

jobs:
add-to-project:
name: Add integration issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@960fbad431afda394cfcf8743445e741acd19e85
with:
project-url: https://github.com/orgs/DARPA-ASKEM/projects/5
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: integration
label-operator: OR
40 changes: 40 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
# Automatically build Docker images on changes to dev and push them to a
# Container Registry using HCL Bake file.

name: Build Docker Images

on:
push:
branches: ['main']
tags: ['*']

jobs:
generate-tag:
runs-on: ubuntu-latest
outputs:
tag: ${{ steps.set-tag.outputs.tag }}
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Read tag from project
id: set-tag
run: |
TAG=$(awk -F '\"' '/^version = /{print $2}' Project.toml)
echo "tag=$TAG" >> $GITHUB_OUTPUT
# Build and Publish all targets associated with specified group
bake:
needs:
- generate-tag
uses: darpa-askem/.github/.github/workflows/bake-publish.yml@main
with:
file: 'docker/docker-bake.hcl'
group: 'prod'
registry: 'ghcr.io'
organization: ${{ github.repository_owner }}
tag: ${{ needs.generate-tag.outputs.tag }}
secrets:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit e5ca53c

Please sign in to comment.