File tree Expand file tree Collapse file tree 4 files changed +19
-5
lines changed Expand file tree Collapse file tree 4 files changed +19
-5
lines changed Original file line number Diff line number Diff line change
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"
Original file line number Diff line number Diff line change 11
11
uses : actions/checkout@v3
12
12
13
13
- name : Build Docker Image
14
- uses : docker/build-push-action@v2
14
+ uses : docker/build-push-action@v4
15
15
with :
16
16
context : .
17
17
push : false
Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ jobs:
16
16
uses : actions/checkout@v3
17
17
18
18
- name : Login to DockerHub
19
- uses : docker/login-action@v1
19
+ uses : docker/login-action@v2
20
20
with :
21
21
username : ${{ secrets.DOCKERHUB_USERNAME }}
22
22
password : ${{ secrets.DOCKERHUB_TOKEN }}
23
23
24
24
- name : Extract metadata (tags, labels) for Docker
25
25
id : meta
26
- uses : docker/metadata-action@v3
26
+ uses : docker/metadata-action@v4
27
27
with :
28
28
images : nevermendel/leetcode-export
29
29
tags : |
33
33
type=semver,pattern={{major}}.{{minor}}
34
34
35
35
- name : Build and push Docker image
36
- uses : docker/build-push-action@v2
36
+ uses : docker/build-push-action@v4
37
37
with :
38
38
context : .
39
39
push : true
Original file line number Diff line number Diff line change 1
- FROM alpine:latest
1
+ FROM alpine:3.17.1
2
2
3
3
RUN apk add --no-cache \
4
4
nss \
You can’t perform that action at this time.
0 commit comments