3333
3434 - name : Docker Login to cwydcontainerreg (Main)
3535 if : ${{ inputs.push == true && github.ref_name == 'main' }}
36- uses : docker/login-action@v3
36+ uses : docker/login-action@v4
3737 with :
3838 registry : ${{ inputs.new_registry }}
3939 username : ${{ inputs.new_username }}
@@ -42,22 +42,22 @@ jobs:
4242 # Login for 'dev' and 'demo' branches to cwydcontainerreg only
4343 - name : Docker Login to cwydcontainerreg (Dev/Demo)
4444 if : ${{ inputs.push == true && (github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'dependabotchanges') }}
45- uses : docker/login-action@v3
45+ uses : docker/login-action@v4
4646 with :
4747 registry : ${{ inputs.new_registry }}
4848 username : ${{ inputs.new_username }}
4949 password : ${{ secrets.DEV_DOCKER_PASSWORD }}
5050
5151 - name : Set up Docker Buildx
52- uses : docker/setup-buildx-action@v3
52+ uses : docker/setup-buildx-action@v4
5353
5454 - name : Get current date
5555 id : date
5656 run : echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
5757
5858 - name : Build Docker Image and optionally push (New Registry)
5959 if : ${{ github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo'|| github.ref_name == 'dependabotchanges' }}
60- uses : docker/build-push-action@v6
60+ uses : docker/build-push-action@v7
6161 with :
6262 context : .
6363 file : ${{ inputs.dockerfile }}
0 commit comments