diff --git a/.webhook_bridge/pipeline-build-hash.yaml b/.webhook_bridge/pipeline-build-hash.yaml index 2e85e6f..ab4906c 100644 --- a/.webhook_bridge/pipeline-build-hash.yaml +++ b/.webhook_bridge/pipeline-build-hash.yaml @@ -122,6 +122,10 @@ spec: - "$(params.image-name)-buildcache" - --cache-to - "$(params.image-name)-buildcache" + - --build-arg + - "SOURCE_DATE_EPOCH=$(tasks.get-git-commit-time.results.unix-time)" + - --build-arg + - "NIX_SUBSTITUTERS=http://ncps.nix-pull-through-cache.svc.cluster.local:80 https://cache.nixos.org" - name: REGISTRIES_CONF value: | unqualified-search-registries = ["docker.io"] diff --git a/.webhook_bridge/pipeline-foreign-document-test.yaml b/.webhook_bridge/pipeline-foreign-document-test.yaml index 85509e7..651ef10 100644 --- a/.webhook_bridge/pipeline-foreign-document-test.yaml +++ b/.webhook_bridge/pipeline-foreign-document-test.yaml @@ -122,6 +122,10 @@ spec: - "$(params.image-name)-buildcache" - --cache-to - "$(params.image-name)-buildcache" + - --build-arg + - "SOURCE_DATE_EPOCH=$(tasks.get-git-commit-time.results.unix-time)" + - --build-arg + - "NIX_SUBSTITUTERS=http://ncps.nix-pull-through-cache.svc.cluster.local:80 https://cache.nixos.org" - name: REGISTRIES_CONF value: | unqualified-search-registries = ["docker.io"] diff --git a/.webhook_bridge/pipeline-format.yaml b/.webhook_bridge/pipeline-format.yaml index 4a9e41e..8684d86 100644 --- a/.webhook_bridge/pipeline-format.yaml +++ b/.webhook_bridge/pipeline-format.yaml @@ -122,6 +122,10 @@ spec: - "$(params.image-name)-buildcache" - --cache-to - "$(params.image-name)-buildcache" + - --build-arg + - "SOURCE_DATE_EPOCH=$(tasks.get-git-commit-time.results.unix-time)" + - --build-arg + - "NIX_SUBSTITUTERS=http://ncps.nix-pull-through-cache.svc.cluster.local:80 https://cache.nixos.org" - name: REGISTRIES_CONF value: | unqualified-search-registries = ["docker.io"] diff --git a/.webhook_bridge/pipeline-rust-clippy.yaml b/.webhook_bridge/pipeline-rust-clippy.yaml index 553a3aa..1964d25 100644 --- a/.webhook_bridge/pipeline-rust-clippy.yaml +++ b/.webhook_bridge/pipeline-rust-clippy.yaml @@ -122,6 +122,10 @@ spec: - "$(params.image-name)-buildcache" - --cache-to - "$(params.image-name)-buildcache" + - --build-arg + - "SOURCE_DATE_EPOCH=$(tasks.get-git-commit-time.results.unix-time)" + - --build-arg + - "NIX_SUBSTITUTERS=http://ncps.nix-pull-through-cache.svc.cluster.local:80 https://cache.nixos.org" - name: REGISTRIES_CONF value: | unqualified-search-registries = ["docker.io"] diff --git a/.webhook_bridge/pipeline-rust-test.yaml b/.webhook_bridge/pipeline-rust-test.yaml index ea4378b..e60cfbc 100644 --- a/.webhook_bridge/pipeline-rust-test.yaml +++ b/.webhook_bridge/pipeline-rust-test.yaml @@ -122,6 +122,10 @@ spec: - "$(params.image-name)-buildcache" - --cache-to - "$(params.image-name)-buildcache" + - --build-arg + - "SOURCE_DATE_EPOCH=$(tasks.get-git-commit-time.results.unix-time)" + - --build-arg + - "NIX_SUBSTITUTERS=http://ncps.nix-pull-through-cache.svc.cluster.local:80 https://cache.nixos.org" - name: REGISTRIES_CONF value: | unqualified-search-registries = ["docker.io"]