Skip to content

Commit 6e777be

Browse files
committed
Add cache and stable tag
1 parent 52df8fc commit 6e777be

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build-test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ jobs:
4747
context: .
4848
file: .devcontainer/Dockerfile
4949
push: true
50-
tags: ghcr.io/${{ needs.prep.outputs.repo_lower }}/devcontainer:${{ github.sha }}
50+
tags: |
51+
ghcr.io/${{ needs.prep.outputs.repo_lower }}/devcontainer:stable
52+
ghcr.io/${{ needs.prep.outputs.repo_lower }}/devcontainer:${{ github.sha }}
53+
cache-from: type=gha
54+
cache-to: type=gha,mode=max
5155

5256
build:
5357
needs: build-devcontainer

0 commit comments

Comments
 (0)