From fd3aa4b64f7cb1d5879a18dd0dda0330ef9f618f Mon Sep 17 00:00:00 2001 From: Chris Andreae Date: Fri, 21 Jun 2024 19:27:39 +0900 Subject: [PATCH] Github action: use pinned skopeo from nixpkgs --- .github/workflows/build-container.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index 8631f70d884..320409f7bcd 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -70,7 +70,7 @@ jobs: - name: Import OCI image into docker-daemon env: REGISTRY: ${{ steps.login-ecr.outputs.registry }} - run: skopeo --insecure-policy copy oci:lambdaImage docker-daemon:$REGISTRY/$ECR_REPOSITORY:$REVISION_TAG + run: nix shell -f nix/pinned-nixpkgs.nix skopeo -c skopeo --insecure-policy copy oci:lambdaImage docker-daemon:$REGISTRY/$ECR_REPOSITORY:$REVISION_TAG - name: Push container image to Amazon ECR env: REGISTRY: ${{ steps.login-ecr.outputs.registry }}