Skip to content

Merge pull request #54 from spknetwork/bac-api-url #99

Merge pull request #54 from spknetwork/bac-api-url

Merge pull request #54 from spknetwork/bac-api-url #99

Workflow file for this run

name: Staging CI/CD
on:
push:
branches:
- development
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
build:
needs: tests
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: ./
file: ./Dockerfile
push: true
tags: pspc/ecency-boilerplate:latest
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}