From df0ce05a0a6d57ca575e9c718e3fc6bc9c81405e Mon Sep 17 00:00:00 2001 From: Polina Bungina Date: Fri, 13 Dec 2024 17:50:09 +0100 Subject: [PATCH] Update publish pipeline deps versions --- .github/workflows/publish-ghcr-container.yaml | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish-ghcr-container.yaml b/.github/workflows/publish-ghcr-container.yaml index 0e2228321..c7f2e0203 100644 --- a/.github/workflows/publish-ghcr-container.yaml +++ b/.github/workflows/publish-ghcr-container.yaml @@ -11,7 +11,7 @@ env: jobs: publish: name: Build and push Spilo multiarch images - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: contents: 'read' packages: 'write' @@ -20,15 +20,15 @@ jobs: shell: bash steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + - name: Set up packages + run: sudo apt-get install -y docker-compose - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: 3.7 - - - name: Install flake8 and docker-compose - run: python -m pip install flake8 docker-compose==1.17.1 + python-version: '3.10' - name: Derive spilo image name id: image @@ -39,20 +39,20 @@ jobs: echo "NAME=$IMAGE" >> $GITHUB_OUTPUT - 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 GHCR - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and export to local docker for testing - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: "postgres-appliance/" load: true @@ -65,7 +65,7 @@ jobs: bash postgres-appliance/tests/test_spilo.sh - name: Build arm64 additionaly and push multiarch image to ghcr - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: "postgres-appliance/" push: true