Skip to content

Commit

Permalink
Merge pull request #133 from autotag-dev/joem/alpine-renovate
Browse files Browse the repository at this point in the history
docker/renovate: manage alpine image by version instead of latest
  • Loading branch information
joemiller authored Dec 11, 2024
2 parents 89c636b + 1380b60 commit 611b359
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ jobs:
run: |
sudo apt-get -qqy update && sudo apt-get -qqy install rpm
# setup qemu and buildx for cross-builds (arm64)
- name: Set up QEMU (for arm64 builds)
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3

# finally run goreleaser to build and publish all artifacts:
- name: Deploy Autotag Release
# TODO(vtopc): switch to the `goreleaser/goreleaser-action` GHA?
run: |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:latest
FROM alpine:3.21.0

RUN apk add --no-cache git

Expand Down
7 changes: 7 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@
"schedule": [
"after 10pm on the first day of the month"
]
},
{
"description": "Don't pin alpine image SHAs, updates too frequently",
"matchPackageNames": [
"alpine"
],
"pinDigests": false
}
],
"labels": [
Expand Down

0 comments on commit 611b359

Please sign in to comment.