Skip to content

Commit

Permalink
updated workflow actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rongxin-liu committed Apr 28, 2024
1 parent b9a5ee3 commit 2919d87
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ jobs:
runs-on: ubuntu-latest-64-cores
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Log into Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -19,7 +19,7 @@ jobs:
python-version: '3.11'

- name: Build for linux/amd64
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
build-args: |
VCS_REF=${{ github.sha }}
Expand Down Expand Up @@ -63,10 +63,10 @@ jobs:
sudo setfacl --modify user:$USER:rw /var/run/docker.sock

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Log into Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -76,7 +76,7 @@ jobs:
sudo apt install -y python3

- name: Build for linux/arm64
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
build-args: |
VCS_REF=${{ github.sha }}
Expand All @@ -103,7 +103,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Log into Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down

0 comments on commit 2919d87

Please sign in to comment.