diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index 6837415b..cff10335 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v4 - name: Setup container meta information id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ github.repository }}-build labels: | @@ -44,18 +44,18 @@ jobs: # use unstable for main branch type=raw,value=unstable,enable={{is_default_branch}} - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub if: github.event_name != 'pull_request' - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - run: echo "Build and push ${{ steps.container.outputs.image-tags }}" - name: Build and push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: ${{ github.event_name != 'pull_request' }} diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 589c5c4f..66ee8963 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -42,7 +42,7 @@ jobs: fi - name: "Setup meta information debian:stable" id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ github.repository }} labels: | @@ -64,17 +64,17 @@ jobs: # use pr-$PR_ID for pull requests (will not be uploaded) type=ref,event=pr - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to Docker Registry if: github.event_name != 'pull_request' - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push Container image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: ${{ github.event_name != 'pull_request' && (github.ref_type == 'tag' || github.ref_name == 'main') }} @@ -85,7 +85,7 @@ jobs: - name: "Setup meta information debian:oldstable" id: old_stable_meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ github.repository }} labels: | @@ -101,7 +101,7 @@ jobs: type=raw,value=oldstable-{{branch}}-{{sha}},enable=${{ github.ref_type == 'branch' && github.event_name == 'push' && github.ref_name != 'main' }} type=ref,event=pr - name: Build and push Container image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: ${{ github.event_name != 'pull_request' && (github.ref_type == 'tag' || github.ref_name == 'main') }} @@ -112,7 +112,7 @@ jobs: - name: "Setup meta information debian:testing" id: testing_meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ github.repository }} labels: | @@ -128,7 +128,7 @@ jobs: type=raw,value=testing-{{branch}}-{{sha}},enable=${{ github.ref_type == 'branch' && github.event_name == 'push' && github.ref_name != 'main' }} type=ref,event=pr - name: Build and push Container image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: ${{ github.event_name != 'pull_request' && (github.ref_type == 'tag' || github.ref_name == 'main') }}