diff --git a/.github/workflows/build-and-publish-docker.yml b/.github/workflows/build-and-publish-docker.yml index 27060f68..cb4c807d 100644 --- a/.github/workflows/build-and-publish-docker.yml +++ b/.github/workflows/build-and-publish-docker.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # https://github.com/sigstore/cosign-installer - name: Install cosign @@ -37,19 +37,19 @@ jobs: cosign-release: 'v1.13.1' - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Setup Docker buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -58,7 +58,7 @@ jobs: # Extract metadata (tags, labels) for Docker - name: Extract Docker metadata id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: flavor: | latest=auto @@ -81,7 +81,7 @@ jobs: # Build and push Docker image with Buildx - name: Build and push base Docker image id: build-and-push-base - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: true @@ -117,7 +117,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # https://github.com/sigstore/cosign-installer - name: Install cosign @@ -126,19 +126,19 @@ jobs: cosign-release: 'v1.13.1' - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Setup Docker buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -147,7 +147,7 @@ jobs: # Extract metadata (tags, labels) for Docker - name: Extract Docker metadata id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: flavor: | latest=auto @@ -171,7 +171,7 @@ jobs: # https://github.com/docker/build-push-action - name: Build and push full Docker image id: build-and-push-full - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: build-args: FULL=true context: . @@ -208,17 +208,17 @@ jobs: id-token: write steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Setup Docker buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Extract Docker metadata id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | kaveenk/gpt3discord @@ -226,7 +226,7 @@ jobs: - name: Build and push base Docker image id: build-and-push-base - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: false @@ -238,7 +238,7 @@ jobs: - name: Build and push full Docker image id: build-and-push-full - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: build-args: FULL=true context: .