3030 using : composite
3131 steps :
3232 - name : Checkout repository
33- uses : actions/checkout@v3
33+ uses : actions/checkout@v4
3434
3535 - name : Parse Input Values
3636 shell : bash
@@ -39,23 +39,23 @@ runs:
3939 echo "HAS_DOCKERHUB=${{ fromJson(inputs.dockerhub_username != '' && inputs.dockerhub_token != '') }}" >> $GITHUB_ENV
4040
4141 - name : Login to Github Container Registry
42- uses : docker/login-action@v2
42+ uses : docker/login-action@v3
4343 with :
4444 registry : ghcr.io
4545 username : ${{ env.GH_USERNAME }}
4646 password : ${{ inputs.github_token }}
4747
4848 - name : Login to Dockerhub Container Registry
4949 if : env.HAS_DOCKERHUB == 'true'
50- uses : docker/login-action@v2
50+ uses : docker/login-action@v3
5151 with :
5252 registry : docker.io
5353 username : ${{ inputs.dockerhub_username }}
5454 password : ${{ inputs.dockerhub_token }}
5555
5656 - name : Prepare Container Metadata tags
5757 id : meta
58- uses : docker/metadata-action@v4
58+ uses : docker/metadata-action@v5
5959 with :
6060 images : |
6161 ghcr.io/${{ env.GH_USERNAME }}/${{ inputs.image_name }}
7474
7575 - name : Build and Push to Container Registry
7676 id : builder
77- uses : docker/build-push-action@v3
77+ uses : docker/build-push-action@v5
7878 with :
7979 context : ${{ inputs.context }}
8080 push : true
0 commit comments