From 7a96cf9e487f050fe0d68326563881b2bf75a160 Mon Sep 17 00:00:00 2001 From: Sam McLeod Date: Sat, 19 Aug 2023 19:07:25 +1000 Subject: [PATCH] chore: update base deps --- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/pre-commit.yml | 4 ++-- Dockerfile | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5867b3..caf7849 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ env: jobs: build-test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: python: @@ -61,7 +61,7 @@ jobs: # Run tests - run: poetry run pytest --prebuild build-push: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 services: registry: image: registry:2 @@ -73,17 +73,17 @@ jobs: PUSH: ${{ toJSON(github.event_name != 'pull_request') }} steps: # Set up Docker Environment - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/cache@v2 with: path: | /tmp/.buildx-cache key: buildx|${{ secrets.CACHE_DATE }}|${{ runner.os }} - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: driver-opts: network=host install: true @@ -147,7 +147,7 @@ jobs: {{major}}.{{minor}} - name: Build and push to public registry(s) if: ${{ fromJSON(env.PUSH) }} - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . file: ./Dockerfile diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 2078fcb..0e16953 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -11,6 +11,6 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 - uses: pre-commit/action@v2.0.0 diff --git a/Dockerfile b/Dockerfile index 1a13d20..f572449 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM haproxy:2.2-alpine +FROM haproxy:2.8-alpine EXPOSE 2375 ENV ALLOW_RESTARTS=0 \