Skip to content

Commit

Permalink
Updated github action version (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
84634E1A607A authored Jul 20, 2024
1 parent a580650 commit 777c1f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Docker Login
uses: docker/login-action@v2.1.0
uses: docker/login-action@v3.2.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build Image
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v6.3.0
with:
file: dockerfile
tags: ${{ secrets.DOCKERHUB_USERNAME }}/thuinfo-web:latest
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Docker Login
uses: docker/login-action@v2.1.0
uses: docker/login-action@v3.2.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build Image and Push to DockerHub
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v6.3.0
with:
file: dockerfile
tags: ${{ secrets.DOCKERHUB_USERNAME }}/thuinfo-web:latest
Expand Down

0 comments on commit 777c1f9

Please sign in to comment.