From cab4cfe28f114838ef0c293b334b8f45b6b51d1d Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 12 May 2022 19:54:44 +0200 Subject: [PATCH] ci: bump docker actions to latest major Signed-off-by: CrazyMax --- .github/workflows/build.yml | 16 ++++++++-------- .github/workflows/e2e.yml | 6 +++--- .github/workflows/validate.yml | 4 ++-- docs/guides/cicd.md | 6 +++--- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index afb2afa5..4b31bdbe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,10 +26,10 @@ jobs: uses: actions/checkout@v2 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: version: latest - @@ -61,7 +61,7 @@ jobs: - name: Docker meta id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v4 with: images: | ${{ env.REPO_SLUG }} @@ -73,13 +73,13 @@ jobs: - name: Login to DockerHub if: github.event_name != 'pull_request' - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push image - uses: docker/bake-action@v1 + uses: docker/bake-action@v2 with: files: | ./docker-bake.hcl @@ -105,10 +105,10 @@ jobs: uses: actions/checkout@v2 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: version: latest driver-opts: image=moby/buildkit:master @@ -116,6 +116,6 @@ jobs: - # Just run a bake target to check eveything runs fine name: Build - uses: docker/bake-action@v1 + uses: docker/bake-action@v2 with: targets: binaries-cross diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index ed49a767..22357c6e 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -21,12 +21,12 @@ jobs: uses: actions/checkout@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: version: latest - name: Build - uses: docker/bake-action@v1 + uses: docker/bake-action@v2 with: targets: binaries set: | @@ -92,7 +92,7 @@ jobs: uses: actions/checkout@v2 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 if: matrix.driver == 'docker' || matrix.driver == 'docker-container' - name: Install buildx diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 64862b78..3ff7f8ec 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -29,7 +29,7 @@ jobs: uses: actions/checkout@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: version: latest - @@ -47,7 +47,7 @@ jobs: uses: actions/checkout@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: version: latest - diff --git a/docs/guides/cicd.md b/docs/guides/cicd.md index 5119c091..de7d5e8c 100644 --- a/docs/guides/cicd.md +++ b/docs/guides/cicd.md @@ -19,13 +19,13 @@ jobs: steps: - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }}