Skip to content

Commit 40c2457

Browse files
committed
fix: workflow
1 parent 3c80457 commit 40c2457

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/publish-devcontainer.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
push:
55
branches: [main]
66
paths:
7-
- '.devcontainer/Dockerfile'
8-
- '.github/workflows/publish-devcontainer.yml'
7+
- ".devcontainer/Dockerfile"
8+
- ".github/workflows/publish-devcontainer.yml"
99
workflow_dispatch:
1010

1111
env:
@@ -18,18 +18,21 @@ jobs:
1818
permissions:
1919
contents: read
2020
packages: write
21-
21+
2222
steps:
2323
- name: Checkout repository
2424
uses: actions/checkout@v4
25+
2526
- name: Set up Docker Buildx
2627
uses: docker/setup-buildx-action@v3
28+
2729
- name: Log in to Container Registry
2830
uses: docker/login-action@v3
2931
with:
3032
registry: ${{ env.REGISTRY }}
3133
username: ${{ github.actor }}
32-
password: ${{ secrets.GITHUB_TOKEN }}
34+
password: ${{ secrets.GITHUB_TOKEN }}
35+
3336
- name: Extract metadata
3437
id: meta
3538
uses: docker/metadata-action@v5
@@ -38,7 +41,8 @@ jobs:
3841
tags: |
3942
type=ref,event=branch
4043
type=sha,prefix={{branch}}-
41-
type=raw,value=latest,enable={{is_default_branch}}
44+
type=raw,value=latest,enable={{is_default_branch}}
45+
4246
- name: Build and push devcontainer image
4347
uses: docker/build-push-action@v6
4448
with:

0 commit comments

Comments
 (0)