diff --git a/.github/workflows/release-image.yml b/.github/workflows/release-image.yml index 8bdbf62..ab2c285 100644 --- a/.github/workflows/release-image.yml +++ b/.github/workflows/release-image.yml @@ -80,7 +80,7 @@ jobs: needs: [checks-hadolint, checks-shfmt, checks-shellcheck, checks-update] steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check Exists id: check-dir @@ -92,18 +92,18 @@ jobs: - name: Set up Docker Buildx if: steps.check-dir.outputs.skipdir != 'true' - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub if: steps.check-dir.outputs.skipdir != 'true' && github.ref == 'refs/heads/main' - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} - name: Login to GAR if: steps.check-dir.outputs.skipdir != 'true' && github.ref == 'refs/heads/main' - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: europe-west1-docker.pkg.dev username: _json_key @@ -112,7 +112,7 @@ jobs: - name: Extract metadata (tags, labels) for Docker id: meta if: steps.check-dir.outputs.skipdir != 'true' - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | ekreative/android @@ -136,7 +136,7 @@ jobs: - name: Build and push Docker image if: steps.check-dir.outputs.skipdir != 'true' - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: ${{ matrix.version }}${{ matrix.variant }} push: ${{ github.ref == 'refs/heads/main' }}