From 0903a3070fc1c32aa2b5e2b6d9c98d29b530543b Mon Sep 17 00:00:00 2001 From: Samuel Huang Date: Sat, 5 Oct 2024 10:46:48 +1000 Subject: [PATCH] Docker buildx pipeline debug --- .github/workflows/docker-buildx-dev.yml | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/.github/workflows/docker-buildx-dev.yml b/.github/workflows/docker-buildx-dev.yml index 56d2403..2efb869 100644 --- a/.github/workflows/docker-buildx-dev.yml +++ b/.github/workflows/docker-buildx-dev.yml @@ -15,18 +15,18 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@main with: ref: ${{ github.ref }} - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 with: platforms: all - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 with: version: latest - @@ -34,13 +34,13 @@ jobs: run: echo ${{ steps.buildx.outputs.platforms }} - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push multi-arch dev - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v6 with: context: . file: ./Dockerfile @@ -51,13 +51,3 @@ jobs: linux/arm/v6 push: true tags: ${{ github.repository }}:${{ github.ref }} - - - name: Trivy vulnerability scanner - uses: aquasecurity/trivy-action@0.20.0 - with: - image-ref: '${{ github.repository }}:${{ github.ref }}' - format: 'table' - exit-code: '1' - ignore-unfixed: true - vuln-type: 'os,library' - #severity: 'CRITICAL,HIGH' \ No newline at end of file