Skip to content

Commit 95db0dd

Browse files
committed
Add GitHub dependabot configuration
1 parent 5306fae commit 95db0dd

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
updates:
3+
4+
# Maintain dependencies for GitHub Actions
5+
- package-ecosystem: "github-actions"
6+
directory: "/"
7+
schedule:
8+
interval: "monthly"
9+
10+
# Maintain dependencies for Docker
11+
- package-ecosystem: "docker"
12+
directory: "/"
13+
schedule:
14+
interval: "monthly"

.github/workflows/build-docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
uses: actions/checkout@v3
1212

1313
- name: Build Docker Image
14-
uses: docker/build-push-action@v2
14+
uses: docker/build-push-action@v4
1515
with:
1616
context: .
1717
push: false

.github/workflows/publish-docker-image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
uses: actions/checkout@v3
1717

1818
- name: Login to DockerHub
19-
uses: docker/login-action@v1
19+
uses: docker/login-action@v2
2020
with:
2121
username: ${{ secrets.DOCKERHUB_USERNAME }}
2222
password: ${{ secrets.DOCKERHUB_TOKEN }}
2323

2424
- name: Extract metadata (tags, labels) for Docker
2525
id: meta
26-
uses: docker/metadata-action@v3
26+
uses: docker/metadata-action@v4
2727
with:
2828
images: nevermendel/leetcode-export
2929
tags: |
@@ -33,7 +33,7 @@ jobs:
3333
type=semver,pattern={{major}}.{{minor}}
3434
3535
- name: Build and push Docker image
36-
uses: docker/build-push-action@v2
36+
uses: docker/build-push-action@v4
3737
with:
3838
context: .
3939
push: true

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:latest
1+
FROM alpine:3.17.1
22

33
RUN apk add --no-cache \
44
nss \

0 commit comments

Comments
 (0)