Skip to content

Commit

Permalink
fix: Docker node version on master branch push
Browse files Browse the repository at this point in the history
  • Loading branch information
Shouvojit Sarker committed Nov 10, 2020
1 parent 8dd5810 commit 2da6e00
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/docker_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,20 @@ jobs:
main:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v2
-
name: Build
- name: Build
run: |
docker build . -t adelabs/node-raml-mocker:latest
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 15
- name: Install dependencies
run: yarn install
- name: Release
env:
DOCKER_USERNAME: adelabs
DOCKER_PASSWORD: ${{ secrets.ADELABS_DOCKER_TOKEN }}
run: |
npx semantic-release
npx semantic-release

0 comments on commit 2da6e00

Please sign in to comment.