Skip to content

Replace .npmrc with .npmrc-template #17

Replace .npmrc with .npmrc-template

Replace .npmrc with .npmrc-template #17

Workflow file for this run

name: Wallet Backend
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
# Permissions for GITHUB_TOKEN
permissions:
contents: read # To check out repo
packages: write # To read NPM registry and push Docker image
steps:
- uses: actions/checkout@v3
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Set up .npmrc to access GitHub NPM registry
uses: ./.github/actions/setup-npmrc
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile
push: true
tags: ghcr.io/gunet/wallet-backend:latest