Making sure docker image build only runs on linux and fixing syntax error.
This commit is contained in:
parent
f7783a78c8
commit
2a5c9b6a55
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue