Making sure docker image build only runs on linux and fixing syntax error.

This commit is contained in:
mike12345567 2021-01-11 11:35:44 +00:00
parent f7783a78c8
commit 2a5c9b6a55
1 changed files with 3 additions and 3 deletions

View File

@ -63,10 +63,10 @@ jobs:
API_KEY_ISSUER_ID: ${{ secrets.api_key_issuer_id }} API_KEY_ISSUER_ID: ${{ secrets.api_key_issuer_id }}
- name: Build/release Docker images - name: Build/release Docker images
uses: actions/checkout@v2 # only run the docker image build on linux, easiest way
if: startsWith(matrix.os, 'ubuntu')
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: | run: docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
run: yarn build:docker run: yarn build:docker