Skip to content

Commit

Permalink
fix(ci): remove save-state command usage
Browse files Browse the repository at this point in the history
Update the version of docker/build-push-action to v4 and the version of docker/setup-buildx-action
to v2 to avoid using the deprecated save-state GitHub Actions command.

Signed-off-by: Niladri Halder <[email protected]>
  • Loading branch information
niladrih committed Feb 8, 2023
1 parent a63c0c3 commit 26d6daa
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build & Push Image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: ./build/ndm-daemonset/Dockerfile
Expand Down Expand Up @@ -237,7 +237,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build & Push Image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: ./build/ndm-exporter/Dockerfile
Expand Down Expand Up @@ -327,7 +327,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build & Push Image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: ./build/ndm-operator/Dockerfile
Expand All @@ -354,12 +354,12 @@ jobs:

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
with:
version: v0.5.1

- name: Build Node Disk Manager
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: .
file: ./build/ndm-daemonset/Dockerfile
Expand All @@ -370,7 +370,7 @@ jobs:
openebs/node-disk-manager:ci
- name: Build Node Disk Operator
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: .
file: ./build/ndm-operator/Dockerfile
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
uses: docker/setup-buildx-action@v2

- name: Build & Push Image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: ./build/ndm-daemonset/Dockerfile
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
version: v0.5.1

- name: Build & Push Image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: ./build/ndm-exporter/Dockerfile
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
version: v0.5.1

- name: Build & Push Image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: ./build/ndm-operator/Dockerfile
Expand All @@ -167,12 +167,12 @@ jobs:

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
with:
version: v0.5.1

- name: Build Node Disk Manager
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: .
file: ./build/ndm-daemonset/Dockerfile
Expand All @@ -183,7 +183,7 @@ jobs:
openebs/node-disk-manager:ci
- name: Build Node Disk Operator
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: .
file: ./build/ndm-operator/Dockerfile
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build & Push Image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: ./build/ndm-daemonset/Dockerfile
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build & Push Image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: ./build/ndm-exporter/Dockerfile
Expand Down Expand Up @@ -266,7 +266,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build & Push Image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: ./build/ndm-operator/Dockerfile
Expand Down

0 comments on commit 26d6daa

Please sign in to comment.