Skip to content

Commit

Permalink
github action - update
Browse files Browse the repository at this point in the history
  • Loading branch information
sophoah committed Jan 30, 2023
1 parent e3cabb8 commit b2e50e6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ jobs:
working-directory: harmony

- name: Download artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: harmony

Expand All @@ -156,16 +156,16 @@ jobs:
working-directory: harmony

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

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

- name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: ./harmony/scripts/docker
file: ./harmony/scripts/docker/Dockerfile
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
working-directory: harmony

- name: Download artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: harmony

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
working-directory: harmony

- name: Download artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: harmony

Expand All @@ -158,16 +158,16 @@ jobs:
working-directory: harmony

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

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

- name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: ./harmony/scripts/docker
file: ./harmony/scripts/docker/Dockerfile
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
working-directory: harmony

- name: Download artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: harmony

Expand Down

0 comments on commit b2e50e6

Please sign in to comment.