Skip to content

Removing env flag from package.json #26

Removing env flag from package.json

Removing env flag from package.json #26

Workflow file for this run

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: Docker Build
on:
push:
branches:
- release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
- run: npm ci
- run: npm test
- run: docker build -t davidfekke/jaxnode:latest .
- name: Push to Docker Hub
uses: docker/build-push-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: davidfekke/jaxnode
tag_with_ref: false