File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches : [main]
6
6
paths :
7
- - ' .devcontainer/Dockerfile'
8
- - ' .github/workflows/publish-devcontainer.yml'
7
+ - " .devcontainer/Dockerfile"
8
+ - " .github/workflows/publish-devcontainer.yml"
9
9
workflow_dispatch :
10
10
11
11
env :
@@ -18,18 +18,21 @@ jobs:
18
18
permissions :
19
19
contents : read
20
20
packages : write
21
-
21
+
22
22
steps :
23
23
- name : Checkout repository
24
24
uses : actions/checkout@v4
25
+
25
26
- name : Set up Docker Buildx
26
27
uses : docker/setup-buildx-action@v3
28
+
27
29
- name : Log in to Container Registry
28
30
uses : docker/login-action@v3
29
31
with :
30
32
registry : ${{ env.REGISTRY }}
31
33
username : ${{ github.actor }}
32
- password : ${{ secrets.GITHUB_TOKEN }}
34
+ password : ${{ secrets.GITHUB_TOKEN }}
35
+
33
36
- name : Extract metadata
34
37
id : meta
35
38
uses : docker/metadata-action@v5
38
41
tags : |
39
42
type=ref,event=branch
40
43
type=sha,prefix={{branch}}-
41
- type=raw,value=latest,enable={{is_default_branch}}
44
+ type=raw,value=latest,enable={{is_default_branch}}
45
+
42
46
- name : Build and push devcontainer image
43
47
uses : docker/build-push-action@v6
44
48
with :
You can’t perform that action at this time.
0 commit comments