Skip to content

fix: ci fails with eslint bad config file #46

fix: ci fails with eslint bad config file

fix: ci fails with eslint bad config file #46

Workflow file for this run

name: Continuous Deployment
on:
push:
branches:
- master
pull_request:
jobs:
cd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checking code for styling issues
run: |
make format
- name: Checking code for linting issues
run: |
make lint
- name: Checking 'debug' code builds
run: |
sudo make debug
- name: Checking 'release' code builds
run: |
sudo make release
- name: Publishing 'unstable' release to https://hub.docker.com
if: github.ref == 'refs/heads/master'
run: |
docker login -u $DOCKER_USERNAME -p $DOCKER_TOKEN
docker build --no-cache -t $DOCKER_USERNAME/$REPO_NAME:$GITHUB_SHA -t $DOCKER_USERNAME/$REPO_NAME:unstable .
docker push --all-tags $DOCKER_USERNAME/$REPO_NAME
env:
REPO_NAME: ${{ github.event.repository.name }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
- name: Publishing 'stable' release to https://hub.docker.com
if: contains(github.ref, 'refs/tags/v')
run: |
docker login -u $DOCKER_USERNAME -p $DOCKER_TOKEN
docker build --no-cache -t $DOCKER_USERNAME/$REPO_NAME:${GITHUB_REF/refs\/tags\/v/} -t $DOCKER_USERNAME/$REPO_NAME:stable -t $DOCKER_USERNAME/$REPO_NAME:latest .
docker push --all-tags $DOCKER_USERNAME/$REPO_NAME
env:
REPO_NAME: ${{ github.event.repository.name }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}