File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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" \
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"
You can’t perform that action at this time.
0 commit comments