Skip to content

Commit eba0911

Browse files
authored
Update devcontainer.yml
1 parent 442ef5c commit eba0911

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/devcontainer.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,15 @@ jobs:
6262
uses: docker/setup-buildx-action@v4
6363

6464
- name: Login to GitHub Container Registry
65-
if: github.event_name != 'workflow_dispatch'
65+
# if: github.event_name != 'workflow_dispatch'
6666
uses: docker/login-action@v4
6767
with:
6868
registry: ghcr.io
6969
username: ${{ github.actor }}
7070
password: ${{ secrets.GITHUB_TOKEN }}
7171

7272
- name: Login to Aliyun Registry
73-
if: github.event_name != 'workflow_dispatch'
73+
# if: github.event_name != 'workflow_dispatch'
7474
uses: docker/login-action@v4
7575
with:
7676
registry: dp-harbor-registry.us-east-1.cr.aliyuncs.com
@@ -83,7 +83,7 @@ jobs:
8383
with:
8484
context: "{{defaultContext}}"
8585
file: Dockerfile.${{ matrix.dockerfile }}
86-
push: ${{ github.event_name != 'workflow_dispatch' }}
86+
push: ${{ github.event_name == 'workflow_dispatch' }}
8787
tags: ${{ steps.meta.outputs.tags }}
8888
labels: ${{ steps.meta.outputs.labels }}
8989
cache-from: |

0 commit comments

Comments
 (0)