Made LNIS Repo as default

This commit is contained in:
Ganesh Gore 2021-10-18 12:31:08 -06:00
parent fdc9e318fd
commit 32f234f4fc
2 changed files with 8 additions and 7 deletions

View File

@ -50,8 +50,8 @@ jobs:
echo "name=docker_repo::$DOCKER_REPO"
echo "::set-output name=docker_repo::$DOCKER_REPO"
else
echo "name=docker_repo::$REPO_OWNER"
echo "::set-output name=docker_repo::$REPO_OWNER"
echo "name=docker_repo::lnis-uofu"
echo "::set-output name=docker_repo::lnis-uofu"
fi
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
@ -190,9 +190,10 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
if: ${{ env.DOCKER_REPO }}
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
if: ${{ (github.ref == 'refs/heads/master') || (needs.change_detect.outputs.force_upload == true) }}
if: ${{ (github.ref == 'refs/heads/master' && (env.DOCKER_REPO)) || (needs.change_detect.outputs.force_upload == true) }}
uses: docker/login-action@v1
with:
registry: ghcr.io
@ -203,15 +204,15 @@ jobs:
with:
context: .
file: ./docker/Dockerfile.master
push: ${{ github.ref == 'refs/heads/master' || needs.change_detect.outputs.force_upload }}
push: ${{ (github.ref == 'refs/heads/master' && (env.DOCKER_REPO)) || needs.change_detect.outputs.force_upload }}
tags: |
ghcr.io/${{ needs.change_detect.outputs.docker_repo }}/openfpga-master:latest
ghcr.io/${{ needs.change_detect.outputs.docker_repo }}/openfpga-master:${{ needs.change_detect.outputs.sha_short }}
linux_regression_tests:
name: linux_regression_tests
runs-on: ubuntu-18.04
needs: [linux_build, change_detect]
container: ghcr.io/${{ needs.change_detect.outputs.docker_repo }}/openfpga-env
needs: linux_build
strategy:
fail-fast: false
matrix:

View File

@ -21,8 +21,8 @@ jobs:
echo "name=docker_repo::$DOCKER_REPO"
echo "::set-output name=docker_repo::$DOCKER_REPO"
else
echo "name=docker_repo::$REPO_OWNER"
echo "::set-output name=docker_repo::$REPO_OWNER"
echo "name=docker_repo::lnis-uofu"
echo "::set-output name=docker_repo::lnis-uofu"
fi
- name: Set up QEMU
uses: docker/setup-qemu-action@v1