From abfbce3f9a56735ab8c78b8733b94ff08322eabf Mon Sep 17 00:00:00 2001 From: Nicolas Gruel Date: Fri, 3 May 2024 16:34:02 +0200 Subject: [PATCH] wip --- .github/workflows/build.yml | 42 +++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dac4303f..c77c1b2e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -87,39 +87,45 @@ jobs: ref: ${{ github.ref }} submodules: true - - name: Docker meta - id: meta - uses: docker/metadata-action@v5 - with: - images: ${{ env.REGISTRY_IMAGE }} - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v3 - - name: login + - name: Login to Docker Hub uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_HUB_LOGIN }} password: ${{ secrets.DOCKER_HUB_TOKEN }} + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Docker meta + id: meta + uses: docker/metadata-action@v4 + with: + images: ${{ env.REGISTRY_IMAGE }} + - name: Build and push uses: docker/build-push-action@v5 with: file: Worker/src/DLLWorker/Dockerfile - context: . - platforms: ${{ matrix.platform }} - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - push: true - #provenance: mode=max - provenance: true - sbom: true + # context: . + # platforms: ${{ matrix.platform }} + # 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 }} #outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true + context: . + provenance: mode=max + sbom: true + push: true + tags: ${{ steps.meta.outputs.tags }} + testEndToEnd: needs: