From 5a2b187bb343479b78343eeeb75ea39c0a30932c Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 14 Feb 2024 16:10:51 +0100 Subject: [PATCH] fix: use `matterlabsrobot` docker namespace Signed-off-by: Harald Hoyer --- .github/workflows/nix.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 76a37a57..e2920fc1 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -55,16 +55,17 @@ jobs: with: extra_nix_config: | access-tokens = github.com=${{ github.token }} + + # Cache any artifacts that aren't already cached at https://cache.nixos.org + - name: Enable magic Nix cache + uses: DeterminateSystems/magic-nix-cache-action@main + - uses: cachix/cachix-action@v14 continue-on-error: true with: name: nixsgx authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - # Cache any artifacts that aren't already cached at https://cache.nixos.org - - name: Enable magic Nix cache - uses: DeterminateSystems/magic-nix-cache-action@main - - name: nix build run: nix run nixpkgs#nixci @@ -82,5 +83,5 @@ jobs: export IMAGE_TAG=$(docker load < result | grep -Po 'Loaded image.*: \K.*') echo "Pushing image ${IMAGE_TAG} to Docker Hub" echo "IMAGE_TAG=${IMAGE_TAG}" >> $GITHUB_ENV - docker push "${IMAGE_TAG}" - docker push "${IMAGE_TAG%:*}:latest" + docker push matterlabsrobot/"${IMAGE_TAG}" + docker push matterlabsrobot/"${IMAGE_TAG%:*}:latest"