From 43d42a725ab4b6f49fc67f52a1f09fba09b797c1 Mon Sep 17 00:00:00 2001 From: FrozenChen Date: Sat, 20 Apr 2024 17:53:30 -0300 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 078998ad4..798131b96 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,9 +26,9 @@ jobs: Starting build for commit [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }}) by ${{ github.actor }} >>> ${{ github.event.head_commit.message }} - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' - name: Install testing dependencies @@ -39,9 +39,9 @@ jobs: run: | flake8 . - 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: Cache Docker layers uses: actions/cache@v3 with: @@ -50,7 +50,7 @@ jobs: restore-keys: | ${{ runner.os }}-buildx- - name: Login to GHCR - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: # GitHub username and personal access token registry: ghcr.io @@ -104,7 +104,7 @@ jobs: webhook_token: ${{ secrets.WEBHOOK_TOKEN }} message: Running on server - name: Run on server - run: docker-compose -f docker-compose-prod.yml up -d + run: docker compose -f docker-compose-prod.yml up -d env: DOCKER_HOST: ${{ secrets.SSH_HOST }} COMPOSE_PARAMIKO_SSH: '1'