Skip to content

Commit 8d33fd9

Browse files
authored
Switch to Docker image (#2)
1 parent 81ea2c8 commit 8d33fd9

File tree

8 files changed

+18
-77536
lines changed

8 files changed

+18
-77536
lines changed

.github/workflows/check.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,16 @@ on:
88
jobs:
99
test-action:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
packages: read
1113
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v4
14-
14+
- uses: actions/checkout@v4
15+
- name: Log in to GitHub Container Registry
16+
uses: docker/login-action@v3
17+
with:
18+
registry: ghcr.io
19+
username: ${{ github.actor }}
20+
password: ${{ secrets.GITHUB_TOKEN }}
1521
- name: Run jabref-action
1622
uses: ./ # use local action
1723
with:

.node-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM ghcr.io/jabref/jabkit:edge
2+
3+
ENTRYPOINT ["/jabref/jabkit/bin/jabkit"]

action.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
name: 'JabRef Action'
22
description: 'Runs JabRef tasks'
3-
author: 'JabRef developers'
3+
author: 'JabRef e.V.'
44
inputs:
55
bibfile:
66
description: 'BibTeX file'
77
required: true
88
runs:
9-
using: 'node20'
10-
main: 'dist/index.js'
9+
using: 'docker'
10+
image: 'Dockerfile'
11+
args:
12+
- check-consistency
13+
- --input=${{ inputs.bibfile }}

dist/index.js

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

0 commit comments

Comments
 (0)