diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9baad4..bae27d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -532,14 +532,14 @@ jobs: access_token: ${{ github.token }} - name: Log in to GHCR - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Log in to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -573,12 +573,12 @@ jobs: - name: Set up Docker buildx id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 with: driver-opts: network=host - name: Build prod image and push to GHCR - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: file: ${{ env.DOCKER_FILE }} target: prod @@ -603,7 +603,7 @@ jobs: - name: Build prod image and push to Docker Hub if: ${{ env.DEPLOY_DOCKER_HUB == 1 }} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: file: ${{ env.DOCKER_FILE }} target: prod @@ -640,7 +640,7 @@ jobs: run: echo "ECR_REGISTRY=${{ steps.ecr-login.outputs.registry }}" >> $GITHUB_ENV # - name: Log in to ECR - # uses: docker/login-action@v2 + # uses: docker/login-action@v3 # with: # registry: ${{ env.ECR_REGISTRY }} # username: ${{ secrets.AWS_ACCESS_KEY_ID }} @@ -648,7 +648,7 @@ jobs: - name: Build prod image and push to AWS ECR if: ${{ env.AWS_ENABLED == 1 }} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 env: REGISTRY: "${{ env.ECR_REGISTRY }}/" IMAGE_OWNER: "${{ env.ECR_IMAGE_OWNER }}/" @@ -687,7 +687,7 @@ jobs: # uses: actions/checkout@v4 # # - name: Log in to GHCR - # uses: docker/login-action@v2 + # uses: docker/login-action@v3 # with: # registry: ghcr.io # username: ${{ github.actor }} @@ -695,7 +695,7 @@ jobs: # # # Pull public images without rate limits # # - name: Log in to Docker Hub - # # uses: docker/login-action@v2 + # # uses: docker/login-action@v3 # # with: # # username: ${{ secrets.DOCKERHUB_USERNAME }} # # password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -707,7 +707,7 @@ jobs: # driver-opts: network=host # # - name: Build newman image - # uses: docker/build-push-action@v3 + # uses: docker/build-push-action@v5 # with: # file: deploy/newman.Dockerfile # context: . @@ -760,7 +760,7 @@ jobs: VAR: ${{ matrix.elixir }}-erlang-${{ matrix.otp }}-${{ matrix.os }}-${{ matrix.build_os_ver }} steps: - name: Log in to GHCR - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -875,7 +875,7 @@ jobs: VAR: ${{ matrix.elixir }}-erlang-${{ matrix.otp }}-${{ matrix.os }}-${{ matrix.build_os_ver }} steps: - name: Log in to GHCR - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -965,7 +965,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Log in to GHCR - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -978,7 +978,7 @@ jobs: # --tag ghcr.io/${{env.IMAGE_OWNER}}/${{env.IMAGE_NAME}}:${{env.IMAGE_TAG}} - name: Log in to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -993,7 +993,7 @@ jobs: driver-opts: network=host # - name: Build final prod image and push to GHCR as latest - # uses: docker/build-push-action@v3 + # uses: docker/build-push-action@v5 # with: # file: ${{ env.DOCKER_FILE }} # target: prod @@ -1008,7 +1008,7 @@ jobs: - name: Build final prod image and push to Docker Hub if: ${{ env.DEPLOY_DOCKER_HUB == 1 }} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: file: ${{ env.DOCKER_FILE }} target: prod @@ -1043,7 +1043,7 @@ jobs: run: echo "ECR_REGISTRY=${{ steps.ecr-login.outputs.registry }}" >> $GITHUB_ENV # - name: Log in to ECR - # uses: docker/login-action@v2 + # uses: docker/login-action@v3 # with: # registry: ${{ env.ECR_REGISTRY }} # username: ${{ secrets.AWS_ACCESS_KEY_ID }} @@ -1060,7 +1060,7 @@ jobs: - name: Build final prod image and push to AWS ECR if: ${{ env.AWS_ENABLED == 1 }} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 env: REGISTRY: "${{ env.ECR_REGISTRY }}/" IMAGE_OWNER: "${{ env.ECR_IMAGE_OWNER }}/"