From e5bd7d30fb69e3e467b499dc65e3d3cd12c6c333 Mon Sep 17 00:00:00 2001 From: Stefan Peters Date: Wed, 2 Oct 2024 12:55:26 +0200 Subject: [PATCH] Update Docker workflow --- .github/workflows/docker.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 87da364..ab7ce14 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -14,25 +14,25 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Docker Meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and Push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v6 with: push: true tags: ${{ steps.meta.outputs.tags }}