From 51729d6d058b2d402f3e7c6df1c51df6c1a98e00 Mon Sep 17 00:00:00 2001 From: 0xawaz Date: Fri, 22 Nov 2024 11:01:28 +0100 Subject: [PATCH] test: add outputs to build-push-action --- .github/workflows/common-docker.yml | 4 ++-- .github/workflows/fhevm-coprocessor.yml | 1 - .github/workflows/fhevm-smart-contracts.yml | 3 ++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/common-docker.yml b/.github/workflows/common-docker.yml index 5012111d..18d28530 100644 --- a/.github/workflows/common-docker.yml +++ b/.github/workflows/common-docker.yml @@ -135,9 +135,9 @@ jobs: build-args: | BLOCKCHAIN_ACTIONS_TOKEN=${{ secrets.BLOCKCHAIN_ACTIONS_TOKEN }} file: ${{ inputs.working-directory }}/${{ inputs.docker-file }} - push: true + push: false pull: false - # load: true + outputs: type=docker tags: ghcr.io/zama-ai/${{ inputs.image-name }}:${{env.DOCKER_TAG_IMAGE }},ghcr.io/zama-ai/${{ inputs.image-name }}:latest cache-from: ${{ inputs.cache-from }} cache-to: ${{ inputs.cache-to }} diff --git a/.github/workflows/fhevm-coprocessor.yml b/.github/workflows/fhevm-coprocessor.yml index 0130a792..58775b1e 100644 --- a/.github/workflows/fhevm-coprocessor.yml +++ b/.github/workflows/fhevm-coprocessor.yml @@ -4,7 +4,6 @@ on: push: branches: - main - - security/trivy paths: - .github/workflows/fhevm-coprocessor.yml - .github/workflows/common-docker.yml diff --git a/.github/workflows/fhevm-smart-contracts.yml b/.github/workflows/fhevm-smart-contracts.yml index de0a9532..fdeef601 100644 --- a/.github/workflows/fhevm-smart-contracts.yml +++ b/.github/workflows/fhevm-smart-contracts.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - security/trivy paths: - .github/workflows/fhevm-smart-contracts.yml - .github/workflows/common-docker.yml @@ -28,7 +29,7 @@ jobs: push_image: true image-name: "fhevm-smart-contracts" image-dev-name: "fhevm-smart-contracts-dev" - generate-dev-image: true + generate-dev-image: false docker-file: "contracts/operations/docker/ci.dockerfile" docker-file-dev: "contracts/operations/docker/dev.dockerfile" image-dev-description: "fhevm smart contracts dev image"