github action - update

pull/4364/head v2023.1.1
Nita Neou (Soph) 2 years ago committed by Soph
parent e3cabb8ba7
commit b2e50e694c
  1. 10
      .github/workflows/ci-tag.yaml
  2. 10
      .github/workflows/ci.yaml

@ -146,7 +146,7 @@ jobs:
working-directory: harmony working-directory: harmony
- name: Download artifact - name: Download artifact
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: harmony name: harmony
@ -156,16 +156,16 @@ jobs:
working-directory: harmony working-directory: harmony
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v2
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v1 uses: docker/login-action@v2
with: with:
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v2 uses: docker/build-push-action@v3
with: with:
context: ./harmony/scripts/docker context: ./harmony/scripts/docker
file: ./harmony/scripts/docker/Dockerfile file: ./harmony/scripts/docker/Dockerfile
@ -205,7 +205,7 @@ jobs:
working-directory: harmony working-directory: harmony
- name: Download artifact - name: Download artifact
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: harmony name: harmony

@ -148,7 +148,7 @@ jobs:
working-directory: harmony working-directory: harmony
- name: Download artifact - name: Download artifact
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: harmony name: harmony
@ -158,16 +158,16 @@ jobs:
working-directory: harmony working-directory: harmony
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v2
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v1 uses: docker/login-action@v2
with: with:
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v2 uses: docker/build-push-action@v3
with: with:
context: ./harmony/scripts/docker context: ./harmony/scripts/docker
file: ./harmony/scripts/docker/Dockerfile file: ./harmony/scripts/docker/Dockerfile
@ -207,7 +207,7 @@ jobs:
working-directory: harmony working-directory: harmony
- name: Download artifact - name: Download artifact
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: harmony name: harmony

Loading…
Cancel
Save