This commit is contained in:
Martin McKeaveney 2021-05-20 13:09:07 +01:00
commit 3f886bb463
1 changed files with 6 additions and 4 deletions

View File

@ -2,12 +2,13 @@ name: Budibase Release
on: on:
push: push:
branches: branches:
- master - master
pull_request: pull_request:
branches: branches:
- master - master
jobs: jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -33,8 +34,9 @@ jobs:
# run: yarn release # run: yarn release
- name: Build/release Docker images - name: Build/release Docker images
run: |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
yarn build:docker
env: env:
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }} DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_API_KEY }} DOCKER_PASSWORD: ${{ secrets.DOCKER_API_KEY }}
run: docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
run: yarn build:docker