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 }}