Skip to content

Commit 03f56ae

Browse files
committed
Fix schedule run for osc dev container
1 parent 04e4741 commit 03f56ae

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/osc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414
- name: Checkout source code
1515
uses: actions/checkout@v3
1616
- name: Setup dev container
17-
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
17+
if: ${{ github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
1818
run: |
1919
npm install --global @devcontainers/cli
2020
- name: Setup container registry credentials
2121
env:
2222
CONTAINER_REGISTRY_NAMESPACE: ${{ secrets.CONTAINER_REGISTRY_NAMESPACE }}
2323
CONTAINER_REGISTRY_USERNAME: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
2424
CONTAINER_REGISTRY_TOKEN: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
25-
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
25+
if: ${{ github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
2626
run: |
2727
docker login "$CONTAINER_REGISTRY_NAMESPACE" \
2828
--username "$CONTAINER_REGISTRY_USERNAME" \
@@ -40,6 +40,6 @@ jobs:
4040
env:
4141
CONTAINER_REGISTRY_NAMESPACE: ${{ secrets.CONTAINER_REGISTRY_NAMESPACE }}
4242
CONTAINER_REGISTRY_USERNAME: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
43-
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
43+
if: ${{ github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
4444
run: |
4545
docker image push --all-tags "$CONTAINER_REGISTRY_NAMESPACE/$CONTAINER_REGISTRY_USERNAME/devcontainer-osc"

0 commit comments

Comments
 (0)