Skip to content

Commit

Permalink
Update more actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tsx committed Jan 30, 2024
1 parent c0c18e0 commit 7f3070d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,28 +93,28 @@ jobs:
shell: bash

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3

- name: Set up Docker context for Buildx
id: buildx-context
run: |
docker context create container-builder
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
with:
version: latest
endpoint: container-builder

- name: Login to DockerHub
# if: ${{ github.ref == 'master' && github.event.pull_request.merged == true }}
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push sync-engine images
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
platforms: linux/${{ matrix.arch }}
push: false
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
shell: bash

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,28 +47,28 @@ jobs:
shell: bash

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3

- name: Set up Docker context for Buildx
id: buildx-context
run: |
docker context create container-builder
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
with:
version: latest
endpoint: container-builder

- name: Login to DockerHub
# if: ${{ github.ref == 'master' && github.event.pull_request.merged == true }}
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push sync-engine images
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
platforms: linux/${{ matrix.arch }}
push: false
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
shell: bash

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down

0 comments on commit 7f3070d

Please sign in to comment.