Merge pull request #136 from matter-labs/push_with_tags

chore: update GitHub Actions workflow configuration
This commit is contained in:
Harald Hoyer 2024-07-01 12:06:15 +02:00 committed by GitHub
commit be6aa0c96d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,18 +13,15 @@ concurrency:
jobs:
check:
runs-on: ubuntu-latest
runs-on: [ matterlabs-ci-runner ]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: cachix/install-nix-action@v27
with:
extra_nix_config: |
access-tokens = github.com=${{ github.token }}
- uses: cachix/cachix-action@v15
with:
name: nixsgx
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
extraPullNames: vault-auth-tee
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= tee-pot:SS6HcrpG87S1M6HZGPsfo7d1xJccCGev7/tXc5+I4jg=
substituters = https://cache.nixos.org/ https://attic.teepot.org/tee-pot
- name: Enable magic Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main
@ -32,18 +29,15 @@ jobs:
build:
needs: check
runs-on: ubuntu-latest
runs-on: [ matterlabs-ci-runner ]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: cachix/install-nix-action@v27
with:
extra_nix_config: |
access-tokens = github.com=${{ github.token }}
- uses: cachix/cachix-action@v15
with:
name: nixsgx
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
extraPullNames: vault-auth-tee
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= tee-pot:SS6HcrpG87S1M6HZGPsfo7d1xJccCGev7/tXc5+I4jg=
substituters = https://cache.nixos.org/ https://attic.teepot.org/tee-pot
- name: Enable magic Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main
@ -52,7 +46,7 @@ jobs:
push_to_docker:
needs: build
runs-on: ubuntu-latest
runs-on: [ matterlabs-ci-runner ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.config.nixpackage }}
cancel-in-progress: true
@ -74,11 +68,8 @@ jobs:
with:
extra_nix_config: |
access-tokens = github.com=${{ github.token }}
- uses: cachix/cachix-action@v15
with:
name: nixsgx
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
extraPullNames: vault-auth-tee
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= tee-pot:SS6HcrpG87S1M6HZGPsfo7d1xJccCGev7/tXc5+I4jg=
substituters = https://cache.nixos.org/ https://attic.teepot.org/tee-pot
- name: Enable magic Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main