Skip to content

Commit 4e2f7b9

Browse files
committed
updated source data, github workflows, etc
1 parent 8d7596a commit 4e2f7b9

12 files changed

Lines changed: 202372 additions & 68520 deletions

File tree

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Build and publish Docker image
2+
3+
on:
4+
push:
5+
branches: [ main, staging ]
6+
7+
jobs:
8+
build-and-push-image:
9+
# The job will only run if one of the commit messages contains [BUILD]
10+
if: |
11+
contains(github.event.head_commit.message, '[BUILD]') ||
12+
contains(join(github.event.commits.*.message), '[BUILD]') ||
13+
contains(join(github.event.pull_request.commits.*.message), '[BUILD]')
14+
runs-on: ubuntu-latest
15+
16+
permissions:
17+
contents: read
18+
packages: write
19+
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v4.2.2
23+
24+
- name: Log in to the Container registry
25+
uses: docker/login-action@v3.3.0
26+
with:
27+
registry: ghcr.io
28+
username: ${{ github.actor }}
29+
password: ${{ secrets.GITHUB_TOKEN }}
30+
31+
- name: Extract metadata for Docker
32+
id: meta
33+
uses: docker/metadata-action@v5.5.1
34+
with:
35+
images: ghcr.io/${{ github.repository }}
36+
tags: |
37+
type=raw,value={{sha}}
38+
39+
- name: Build and push Docker image
40+
uses: docker/build-push-action@v6.9.0
41+
with:
42+
push: true
43+
file: docker/Dockerfile
44+
tags: ${{ steps.meta.outputs.tags }}
45+
labels: ${{ steps.meta.outputs.labels }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

data/Metric.json

Lines changed: 0 additions & 62696 deletions
This file was deleted.

0 commit comments

Comments
 (0)