1- name : " Push images on merge to master"
1+ name : Push images on merge to master
22
33env :
44 IMAGE_NAME : ghcr.io/${{ github.repository }}
1111
1212jobs :
1313 build-and-push-image-operator :
14- runs-on : ubuntu-20 .04
14+ runs-on : ubuntu-24 .04-4core
1515 steps :
1616 - name : Check out the repo
17- uses : actions/checkout@v3
17+ uses : actions/checkout@v4
1818
1919 # Add support for more platforms with QEMU (optional)
2020 # https://github.com/docker/setup-qemu-action
2121 - name : Set up QEMU
2222 uses : docker/setup-qemu-action@v3
2323
2424 - name : Set up Docker Buildx
25- uses : docker/setup-buildx-action@v2
25+ uses : docker/setup-buildx-action@v3
2626
2727 - name : Login to Docker
28- uses : docker/login-action@v2
28+ uses : docker/login-action@v3
2929 with :
3030 registry : ghcr.io
3131 username : ${{ github.repository_owner }}
3232 password : ${{ secrets.GITHUB_TOKEN }}
3333
3434 - name : Docker meta
3535 id : docker_meta
36- uses : docker/metadata-action@v4
36+ uses : docker/metadata-action@v5
3737 with :
3838 images : ${{ env.IMAGE_NAME }}
3939
4040 - name : Build and push sriov-network-operator
41- uses : docker/build-push-action@v4
41+ uses : docker/build-push-action@v6
4242 with :
4343 context : .
4444 push : true
@@ -50,34 +50,34 @@ jobs:
5050 file : ./Dockerfile
5151
5252 build-and-push-image-config-daemon :
53- runs-on : ubuntu-20 .04
53+ runs-on : ubuntu-24 .04-4core
5454 steps :
5555 - name : Check out the repo
56- uses : actions/checkout@v3
56+ uses : actions/checkout@v4
5757
5858 # Add support for more platforms with QEMU (optional)
5959 # https://github.com/docker/setup-qemu-action
6060 - name : Set up QEMU
6161 uses : docker/setup-qemu-action@v3
6262
6363 - name : Set up Docker Buildx
64- uses : docker/setup-buildx-action@v2
64+ uses : docker/setup-buildx-action@v3
6565
6666 - name : Login to Docker
67- uses : docker/login-action@v2
67+ uses : docker/login-action@v3
6868 with :
6969 registry : ghcr.io
7070 username : ${{ github.repository_owner }}
7171 password : ${{ secrets.GITHUB_TOKEN }}
7272
7373 - name : Docker meta
7474 id : docker_meta
75- uses : docker/metadata-action@v4
75+ uses : docker/metadata-action@v5
7676 with :
7777 images : ${{ env.IMAGE_NAME }}-config-daemon
7878
7979 - name : Build and push sriov-network-operator-config-daemon
80- uses : docker/build-push-action@v4
80+ uses : docker/build-push-action@v6
8181 with :
8282 context : .
8383 push : true
@@ -89,34 +89,34 @@ jobs:
8989 file : ./Dockerfile.sriov-network-config-daemon
9090
9191 build-and-push-image-webhook :
92- runs-on : ubuntu-20 .04
92+ runs-on : ubuntu-24 .04-4core
9393 steps :
9494 - name : Check out the repo
95- uses : actions/checkout@v3
95+ uses : actions/checkout@v4
9696
9797 # Add support for more platforms with QEMU (optional)
9898 # https://github.com/docker/setup-qemu-action
9999 - name : Set up QEMU
100100 uses : docker/setup-qemu-action@v3
101101
102102 - name : Set up Docker Buildx
103- uses : docker/setup-buildx-action@v2
103+ uses : docker/setup-buildx-action@v3
104104
105105 - name : Login to Docker
106- uses : docker/login-action@v2
106+ uses : docker/login-action@v3
107107 with :
108108 registry : ghcr.io
109109 username : ${{ github.repository_owner }}
110110 password : ${{ secrets.GITHUB_TOKEN }}
111111
112112 - name : Docker meta
113113 id : docker_meta
114- uses : docker/metadata-action@v4
114+ uses : docker/metadata-action@v5
115115 with :
116116 images : ${{ env.IMAGE_NAME }}-webhook
117117
118118 - name : Build and push sriov-network-operator-webhook
119- uses : docker/build-push-action@v4
119+ uses : docker/build-push-action@v6
120120 with :
121121 context : .
122122 push : true
0 commit comments