Skip to content

Commit

Permalink
Upgrade github action docker build and push action to v5 (#7096)
Browse files Browse the repository at this point in the history
  • Loading branch information
nopcoder authored Dec 3, 2023
1 parent 847fd07 commit 2832fcc
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compatibility-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
uses: docker/setup-buildx-action@v2

- name: Build and export
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
id: build_export
with:
context: .
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish-exp-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push lakefs
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
target: ${{ inputs.target }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish-lakefs-rclone-export.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: deployments/tools/export
push: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
type=semver,pattern={{major}}.{{minor}},value=${{ steps.version.outputs.tag }}
type=semver,pattern={{major}},value=${{ steps.version.outputs.tag }}
- name: Build and push lakectl
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
target: lakectl
Expand All @@ -109,7 +109,7 @@ jobs:
tags: ${{ steps.lakectl_meta.outputs.tags }}

- name: Build and push lakefs
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
target: lakefs-plugins
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/esti.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and Push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ steps.login-ecr.outputs.registry }}/lakefs:${{ steps.version.outputs.tag }}
Expand Down Expand Up @@ -257,7 +257,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and Push to Amazon ECR
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ steps.login-ecr.outputs.registry }}/lakefs-rclone-export:${{ steps.version.outputs.tag }}
Expand Down Expand Up @@ -583,7 +583,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and Push hive-metastore
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
push: true
tags: ghcr.io/treeverse/hive-metastore:${{ needs.deploy-image.outputs.tag }}
Expand Down

0 comments on commit 2832fcc

Please sign in to comment.