Skip to content

Commit

Permalink
fix: use matterlabsrobot docker namespace
Browse files Browse the repository at this point in the history
Signed-off-by: Harald Hoyer <[email protected]>
  • Loading branch information
haraldh committed Feb 14, 2024
1 parent 743ecc6 commit 5a2b187
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"

0 comments on commit 5a2b187

Please sign in to comment.