Skip to content

Commit

Permalink
update github workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Blaschke <[email protected]>
  • Loading branch information
mblaschke committed Sep 14, 2024
1 parent 9e39966 commit c61fb0e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,23 @@ updates:
directory: "/"
schedule:
interval: "weekly"
groups:
all-github-actions:
patterns: [ "*" ]

- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
groups:
all-docker-versions:
patterns: [ "*" ]

- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
groups:
all-go-mod-patch-and-minor:
patterns: [ "*" ]
update-types: [ "patch", "minor" ]
10 changes: 6 additions & 4 deletions .github/workflows/build-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
check-latest: true

- name: Run Golangci lint
uses: golangci/golangci-lint-action@v4
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --print-resources-usage
Expand All @@ -38,7 +38,7 @@ jobs:
matrix:
include:
- Dockerfile: Dockerfile
target: "final-azcli"
target: "final-static"
suffix: ""
latest: "auto"

Expand All @@ -61,7 +61,9 @@ jobs:
id: docker_meta
uses: docker/metadata-action@v5
with:
images: ${{ github.repository }},quay.io/${{ github.repository }}
images: |
${{ github.repository }}
quay.io/${{ github.repository }}
labels: |
io.artifacthub.package.readme-url=https://raw.githubusercontent.com/${{ github.repository }}/${{ github.event.repository.default_branch }}/README.md
flavor: |
Expand Down Expand Up @@ -90,7 +92,7 @@ jobs:
password: ${{ secrets.QUAY_TOKEN }}

- name: ${{ inputs.publish && 'Build and push' || 'Build' }}
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
file: ./${{ matrix.Dockerfile }}
Expand Down

0 comments on commit c61fb0e

Please sign in to comment.