Skip to content

Commit b2a04eb

Browse files
committed
initial commit
0 parents  commit b2a04eb

File tree

8 files changed

+1212
-0
lines changed

8 files changed

+1212
-0
lines changed

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
target
2+
*.tsv.gz
3+

.github/workflows/docker.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build & publish images
2+
3+
on:
4+
push:
5+
branches: [ "dev", "stable" ]
6+
pull_request:
7+
branches: [ "dev" ]
8+
9+
env:
10+
REGISTRY: ghcr.io
11+
IMAGE_NAME: ${{ github.repository }}
12+
13+
jobs:
14+
build-and-push-image:
15+
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
18+
packages: write
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v2
22+
23+
- name: Log in to the Container registry
24+
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
25+
with:
26+
registry: ${{ env.REGISTRY }}
27+
username: ${{ github.actor }}
28+
password: ${{ secrets.GITHUB_TOKEN }}
29+
30+
- name: Build and push Docker image
31+
run: |
32+
docker build -t ghcr.io/ebispot/ols-semsim:${{ github.sha }} -f ./semsim/Dockerfile .
33+
docker tag ghcr.io/ebispot/ols-semsim:${{github.sha}} ghcr.io/ebispot/ols-semsim:${{ github.head_ref || github.ref_name }}
34+
docker push --all-tags ghcr.io/ebispot/ols-semsim
35+
36+

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
target
2+
*.tsv.gz
3+

0 commit comments

Comments
 (0)