3636 latest : ${{ steps.latest.outputs.latest }}
3737 minor_latest : ${{ steps.latest.outputs.minor_latest }}
3838 steps :
39- - uses : actions/checkout@v1
39+ - uses : actions/checkout@v3
4040 - name : Split version
4141 id : version
4242 run : |
6060 needs : [get_version_meta]
6161 steps :
6262 - name : Set up Docker Buildx
63- uses : docker/setup-buildx-action@v1
63+ uses : docker/setup-buildx-action@v2
6464
6565 build_and_push :
6666 name : Build images and push to GHCR
@@ -76,14 +76,14 @@ jobs:
7676 echo "build_arg_value=$BUILD_ARG_VALUE" >> $GITHUB_OUTPUT
7777
7878 - name : Log in to the GHCR
79- uses : docker/login-action@v1
79+ uses : docker/login-action@v2
8080 with :
8181 registry : ghcr.io
8282 username : ${{ github.actor }}
8383 password : ${{ secrets.GITHUB_TOKEN }}
8484
8585 - name : Build and push MAJOR.MINOR.PATCH tag
86- uses : docker/build-push-action@v2
86+ uses : docker/build-push-action@v4
8787 with :
8888 file : docker/Dockerfile
8989 push : True
9494 ghcr.io/dbt-labs/${{ github.event.inputs.package }}:${{ github.event.inputs.version_number }}
9595
9696 - name : Build and push MINOR.latest tag
97- uses : docker/build-push-action@v2
97+ uses : docker/build-push-action@v4
9898 if : ${{ needs.get_version_meta.outputs.minor_latest == 'True' }}
9999 with :
100100 file : docker/Dockerfile
@@ -106,7 +106,7 @@ jobs:
106106 ghcr.io/dbt-labs/${{ github.event.inputs.package }}:${{ needs.get_version_meta.outputs.major }}.${{ needs.get_version_meta.outputs.minor }}.latest
107107
108108 - name : Build and push latest tag
109- uses : docker/build-push-action@v2
109+ uses : docker/build-push-action@v4
110110 if : ${{ needs.get_version_meta.outputs.latest == 'True' }}
111111 with :
112112 file : docker/Dockerfile
0 commit comments