Skip to content

Commit 5516ed8

Browse files
Copilotlabo-flg
andauthored
[ci] schedule daily docker rebuild and pull latest base images (#19)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: labo-flg <146674147+labo-flg@users.noreply.github.com>
1 parent 981f063 commit 5516ed8

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.circleci/config.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
command: echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
3434
- run:
3535
name: Build Docker image filigran/python-nodejs-fips
36-
command: docker buildx build --platform $BUILDX_PLATFORMS -f Dockerfile_python_nodejs -t filigran/python-nodejs-fips:python3.12-nodejs22 -t filigran/python-nodejs-fips:latest --push .
36+
command: docker buildx build --pull --platform $BUILDX_PLATFORMS -f Dockerfile_python_nodejs -t filigran/python-nodejs-fips:python3.12-nodejs22 -t filigran/python-nodejs-fips:latest --push .
3737
no_output_timeout: 30m
3838
- run:
3939
name: Build Docker image filigran/python-fips
40-
command: docker buildx build --platform $BUILDX_PLATFORMS -f Dockerfile_python -t filigran/python-fips:python3.12 -t filigran/python-fips:latest --push .
40+
command: docker buildx build --pull --platform $BUILDX_PLATFORMS -f Dockerfile_python -t filigran/python-fips:python3.12 -t filigran/python-fips:latest --push .
4141
no_output_timeout: 30m
4242
- ms-teams/report:
4343
only_on_fail: false
@@ -55,6 +55,13 @@ jobs:
5555

5656
workflows:
5757
docker:
58+
triggers:
59+
- schedule:
60+
cron: "0 0 * * *"
61+
filters:
62+
branches:
63+
only:
64+
- main
5865
jobs:
5966
- build_docker:
6067
filters:

0 commit comments

Comments
 (0)