diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c20585e..22d2d675 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -110,27 +110,14 @@ jobs: uses: docker/build-push-action@v5 with: file: Worker/src/DLLWorker/Dockerfile - # context: . + context: . platforms: ${{ matrix.platform }} + tags: ${{ env.REGISTRY_IMAGE }}:${{ needs.versionning.outputs.version }} # tags: ${{ steps.meta.outputs.tags }} # labels: ${{ steps.meta.outputs.labels }} - # push: true - # #provenance: mode=max - # provenance: true - # sbom: true - #outputs: type=image,name=${{ env.REGISTRY_IMAGE }}:${{ needs.versionning.outputs.version }} - # - context: . - provenance: mode=max + provenance: true sbom: true push: true - tags: ${{ env.REGISTRY_IMAGE }}:${{ needs.versionning.outputs.version }} - #outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true - # tags: ${{ steps.meta.outputs.tags }} - - # - name: build and push - # run: | - # docker buildx build -t dockerhubaneo/armonik_worker_dll:$VERSION --file Worker/src/DLLWorker/Dockerfile --provenance true --sbom true --push . testEndToEnd: