diff --git a/action.yml b/action.yml index 2c33da15..14cd3d0c 100644 --- a/action.yml +++ b/action.yml @@ -6,6 +6,6 @@ inputs: required: true runs: using: "docker" - image: "docker://ghcr.io/fac/serverless-tools-gha:v0.19.31" + image: "Dockerfile" args: - ${{ inputs.command }} diff --git a/test/deployer/docker_builder_test.rb b/test/deployer/docker_builder_test.rb index 3f52bb47..38b99033 100644 --- a/test/deployer/docker_builder_test.rb +++ b/test/deployer/docker_builder_test.rb @@ -13,7 +13,7 @@ module ServerlessTools::Deployer describe "#build" do it "builds the Docker image" do subject.expects(:system_call).with( - "docker build . -f Dockerfile -t function_one_ecr_repo:latest" + "docker build . -f Dockerfile -t function_one_ecr_repo:latest --output type=docker --provenance=false" ) subject.build end @@ -29,7 +29,7 @@ module ServerlessTools::Deployer } it "builds the image for the specific platform" do subject.expects(:system_call).with( - "docker build . -f Dockerfile -t function_one_ecr_repo:latest --platform linux/amd64" + "docker build . -f Dockerfile -t function_one_ecr_repo:latest --platform linux/amd64 --output type=docker --provenance=false" ) subject.build end