Changed docker repo to github repository

This commit is contained in:
Ganesh Gore 2021-10-18 11:20:14 -06:00
parent b47af70bb0
commit d37ae8a8c5
2 changed files with 8 additions and 8 deletions

View File

@ -50,7 +50,7 @@ jobs:
if: ${{ fromJSON(needs.change_detect.outputs.source_modified) }} if: ${{ fromJSON(needs.change_detect.outputs.source_modified) }}
name: ${{ matrix.config.name }} name: ${{ matrix.config.name }}
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
container: ghcr.io/lnis-uofu/openfpga-build-${{ matrix.config.cc}} container: ghcr.io/${{ github.repository_owner }}/openfpga-build-${{ matrix.config.cc}}
# Branch on different OS and settings # Branch on different OS and settings
strategy: strategy:
fail-fast: false fail-fast: false
@ -194,12 +194,12 @@ jobs:
file: ./docker/Dockerfile.master file: ./docker/Dockerfile.master
push: ${{ github.ref == 'refs/heads/master' || needs.change_detect.outputs.force_upload }} push: ${{ github.ref == 'refs/heads/master' || needs.change_detect.outputs.force_upload }}
tags: | tags: |
ghcr.io/lnis-uofu/openfpga-master:latest ghcr.io/${{github.repository_owner}}/openfpga-master:latest
ghcr.io/lnis-uofu/openfpga-master:${{ needs.change_detect.outputs.sha_short }} ghcr.io/${{github.repository_owner}}/openfpga-master:${{ needs.change_detect.outputs.sha_short }}
linux_regression_tests: linux_regression_tests:
name: linux_regression_tests name: linux_regression_tests
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
container: ghcr.io/lnis-uofu/openfpga-env container: ghcr.io/${{github.repository_owner}}/openfpga-env
needs: linux_build needs: linux_build
strategy: strategy:
fail-fast: false fail-fast: false
@ -248,7 +248,7 @@ jobs:
if: ${{ !fromJSON(needs.change_detect.outputs.source_modified) }} if: ${{ !fromJSON(needs.change_detect.outputs.source_modified) }}
name: docker_regression_tests name: docker_regression_tests
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
container: ghcr.io/lnis-uofu/openfpga-master:latest container: ghcr.io/${{github.repository_owner}}/openfpga-master:latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:

View File

@ -24,14 +24,14 @@ jobs:
context: . context: .
file: ./docker/Dockerfile.base file: ./docker/Dockerfile.base
push: true push: true
tags: ghcr.io/lnis-uofu/openfpga-build-base:latest tags: ghcr.io/${{ github.repository_owner }}/openfpga-build-base:latest
- name: Build environment image - name: Build environment image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: . context: .
file: ./docker/Dockerfile.env file: ./docker/Dockerfile.env
push: true push: true
tags: ghcr.io/lnis-uofu/openfpga-env:latest tags: ghcr.io/${{ github.repository_owner }}/openfpga-env:latest
compiler_images: compiler_images:
name: Build ${{ matrix.compiler }} compiler image name: Build ${{ matrix.compiler }} compiler image
needs: base_images needs: base_images
@ -65,4 +65,4 @@ jobs:
context: . context: .
file: ./docker/Dockerfile.${{ matrix.compiler }} file: ./docker/Dockerfile.${{ matrix.compiler }}
push: true push: true
tags: ghcr.io/lnis-uofu/openfpga-build-${{ matrix.compiler }}:latest tags: ghcr.io/${{ github.repository_owner }}/openfpga-build-${{ matrix.compiler }}:latest