Skip to content

Commit

Permalink
ci: build docker image for semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangmm authored Oct 6, 2020
1 parent ee80e45 commit 7095e4d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,18 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
services:
eXist:
image: existdb/teipublisher:6.0.1
ports:
- 8080:8080
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v1
with:
node-version: "14.x"
- name: Build docker image
run: docker build -t exist-db -f Dockerfile .
- name: Start docker image
run: docker run --publish 8080:8080 --detach exist-db
- run: npm ci
- run: npm test
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 7095e4d

Please sign in to comment.