Skip to content

Commit f203e9e

Browse files
committed
Add github actions cache support to building container image
1 parent 2b220ee commit f203e9e

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ target
33
vendor
44
.git
55
.cargo
6+
.github

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ charset = utf-8
88
trim_trailing_whitespace = true
99
insert_final_newline = true
1010

11-
[*.yml]
11+
[*.yml,*.yaml]
1212
indent_size = 2

.github/workflows/container_image.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@ jobs:
4545
push: ${{ github.event_name != 'pull_request' }}
4646
tags: ${{ steps.meta.outputs.tags }}
4747
labels: ${{ steps.meta.outputs.labels }}
48+
cache-from: type=gha
49+
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)