From 71b2a93145af167a742a2c3c19564cede9a3a769 Mon Sep 17 00:00:00 2001 From: Ben Nibbelink Date: Mon, 12 Feb 2024 19:05:44 -0600 Subject: [PATCH] try build context as repository owners registry --- .github/workflows/build_test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 6fe09d172..8ba384af6 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -62,8 +62,8 @@ jobs: file: docker/Dockerfile cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/cycamore_${{ matrix.ubuntu_versions }}_${{ matrix.pkg_mgr }}/cycamore:ci-layer-cache cache-to: type=registry,ref=ghcr.io/${{ github.repository_owner }}/cycamore_${{ matrix.ubuntu_versions }}_${{ matrix.pkg_mgr }}/cycamore:ci-layer-cache,mode=max - tags: cycamore - load: true + tags: ghcr.io/${{ github.repository_owner }}/cycamore_${{ matrix.ubuntu_versions }}_${{ matrix.pkg_mgr }}/cycamore:ci-image-cache + push: true build-args: | pkg_mgr=${{ matrix.pkg_mgr }} ubuntu_version=${{ matrix.ubuntu_versions }} @@ -89,9 +89,9 @@ jobs: build-args: | pkg_mgr=${{ matrix.pkg_mgr }} ubuntu_version=${{ matrix.ubuntu_versions }} - cycamore_tag=local-ci-tag + cycamore_tag=ci-image-cache build-contexts: | - ghcr.io/cyclus/cycamore_${{ matrix.ubuntu_versions }}_${{ matrix.pkg_mgr }}/cycamore:local-ci-tag=docker-image://cycamore@${{ steps.build-cycamore.outputs.digest }} + ghcr.io/cyclus/cycamore_${{ matrix.ubuntu_versions }}_${{ matrix.pkg_mgr }}/cycamore:ci-image-cache=docker-image://ghcr.io/${{ github.repository_owner }}/cycamore_${{ matrix.ubuntu_versions }}_${{ matrix.pkg_mgr }}/cycamore:ci-image-cache@${{ steps.build-cycamore.outputs.digest }} - name: Export Environment Variables if: github.event_name == 'pull_request'