diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 68fbc19..7389f8a 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -29,7 +29,7 @@ jobs: name: Build binary runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install libssl run: sudo apt-get install -y pkg-config libssl-dev - name: Update toolchain to last stable and install croos @@ -39,7 +39,7 @@ jobs: env: SQLX_OFFLINE: true - name: Upload - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.docker-arch }} path: | @@ -49,20 +49,20 @@ jobs: runs-on: ubuntu-latest needs: [ build, set-vars ] steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: rg.nl-ams.scw.cloud/pedr0 username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push API docker image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: true @@ -76,7 +76,7 @@ jobs: runs-on: ubuntu-latest needs: docker steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 - name: Rename files run: | for i in $(ls -d */ | sed 's#/##')