Skip to content

Commit

Permalink
add -y argument to microdnf (#1852)
Browse files Browse the repository at this point in the history
`-y` option is now required for non interactive microdnf

Signed-off-by: pjuarezd <[email protected]>
  • Loading branch information
pjuarezd authored Nov 8, 2023
1 parent a28276f commit 6c3d608
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Set up swagger
run: |
go install github.com/go-swagger/go-swagger/cmd/swagger@latest
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --skip-publish --rm-dist --snapshot
args: release --skip-publish --clean --snapshot
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ issues:
- deadcode

service:
golangci-lint-version: 1.49.0 # use the fixed version to not introduce new linters unexpectedly
golangci-lint-version: 1.51.2 # use the fixed version to not introduce new linters unexpectedly
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.2 as build

RUN microdnf update --nodocs && microdnf install ca-certificates --nodocs
RUN microdnf update -y --nodocs && microdnf install ca-certificates -y --nodocs

FROM registry.access.redhat.com/ubi9/ubi-micro:9.2

Expand Down

0 comments on commit 6c3d608

Please sign in to comment.