File tree Expand file tree Collapse file tree 8 files changed +1212
-0
lines changed
Expand file tree Collapse file tree 8 files changed +1212
-0
lines changed Original file line number Diff line number Diff line change 1+ target
2+ * .tsv.gz
3+
Original file line number Diff line number Diff line change 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+
Original file line number Diff line number Diff line change 1+ target
2+ * .tsv.gz
3+
You can’t perform that action at this time.
0 commit comments