Skip to content

Commit

Permalink
Docker buildx pipeline debug
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelhbne committed Oct 5, 2024
1 parent 2863e53 commit 0903a30
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/docker-buildx-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,32 @@ 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
-
name: Available platforms
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
Expand All @@ -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'

0 comments on commit 0903a30

Please sign in to comment.