File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -19,26 +19,27 @@ jobs:
1919 packages : write
2020 contents : read
2121 steps :
22- - uses : actions/checkout@v4
22+ - name : Checkout
23+ uses : actions/checkout@v4
2324
2425 - name : Use the same PHP config as the contributor containers
2526 run : cp -r docker-{contributor,gitlabci}/php-config
2627
2728 - name : Log in to GitHub Container registry (possibly at fork)
28- uses : docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
29+ uses : docker/login-action@v3
2930 with :
3031 registry : ghcr.io
3132 username : ${{ github.actor }}
3233 password : ${{ secrets.GITHUB_TOKEN }}
3334
3435 - name : Extract metadata (tags, labels) for Docker
3536 id : meta
36- uses : docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
37+ uses : docker/metadata-action@v5
3738 with :
3839 images : ghcr.io/${{ github.repository }}
3940
4041 - name : Build and push Docker images
41- uses : docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
42+ uses : docker/build-push-action@v5
4243 with :
4344 context : " ./docker-gitlabci"
4445 push : true
Original file line number Diff line number Diff line change 11name : ' Build GitLab CI container (Release)'
22
33on :
4+ schedule :
5+ - cron : " 4 3 * * 5"
46 push :
57 branches :
68 - main
@@ -14,26 +16,26 @@ jobs:
1416 packages : write
1517 contents : read
1618 steps :
17- - uses : actions/checkout@v4
19+ - name : Checkout
20+ uses : actions/checkout@v4
1821
1922 - name : Use the same PHP config as the contributor containers
2023 run : cp -r docker-{contributor,gitlabci}/php-config
2124
2225 - name : Log in to Docker Container registry
23- if : github.ref == 'refs/heads/main'
24- uses : docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
26+ uses : docker/login-action@v3
2527 with :
2628 username : ${{ secrets.DOCKERHUB_USERNAME }}
2729 password : ${{ secrets.DOCKERHUB_TOKEN }}
2830
2931 - name : Extract metadata (tags, labels) for Docker
3032 id : meta
31- uses : docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
33+ uses : docker/metadata-action@v5
3234 with :
3335 images : domjudge/gitlabci
3436
3537 - name : Build and push Docker images
36- uses : docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
38+ uses : docker/build-push-action@v5
3739 with :
3840 context : " ./docker-gitlabci"
3941 push : true
You can’t perform that action at this time.
0 commit comments