mirror of
https://github.com/Tecnativa/docker-socket-proxy
synced 2025-07-05 06:42:36 +00:00
chore: update base deps
This commit is contained in:
parent
2d108070c4
commit
7a96cf9e48
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
4
.github/workflows/pre-commit.yml
vendored
4
.github/workflows/pre-commit.yml
vendored
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM haproxy:2.2-alpine
|
||||
FROM haproxy:2.8-alpine
|
||||
|
||||
EXPOSE 2375
|
||||
ENV ALLOW_RESTARTS=0 \
|
||||
|
Loading…
Reference in New Issue
Block a user