mirror of
https://github.com/Tecnativa/docker-socket-proxy
synced 2025-07-05 14:52:35 +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:
|
jobs:
|
||||||
build-test:
|
build-test:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python:
|
python:
|
||||||
@ -61,7 +61,7 @@ jobs:
|
|||||||
# Run tests
|
# Run tests
|
||||||
- run: poetry run pytest --prebuild
|
- run: poetry run pytest --prebuild
|
||||||
build-push:
|
build-push:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
services:
|
services:
|
||||||
registry:
|
registry:
|
||||||
image: registry:2
|
image: registry:2
|
||||||
@ -73,17 +73,17 @@ jobs:
|
|||||||
PUSH: ${{ toJSON(github.event_name != 'pull_request') }}
|
PUSH: ${{ toJSON(github.event_name != 'pull_request') }}
|
||||||
steps:
|
steps:
|
||||||
# Set up Docker Environment
|
# Set up Docker Environment
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/tmp/.buildx-cache
|
/tmp/.buildx-cache
|
||||||
key: buildx|${{ secrets.CACHE_DATE }}|${{ runner.os }}
|
key: buildx|${{ secrets.CACHE_DATE }}|${{ runner.os }}
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v2
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
with:
|
with:
|
||||||
driver-opts: network=host
|
driver-opts: network=host
|
||||||
install: true
|
install: true
|
||||||
@ -147,7 +147,7 @@ jobs:
|
|||||||
{{major}}.{{minor}}
|
{{major}}.{{minor}}
|
||||||
- name: Build and push to public registry(s)
|
- name: Build and push to public registry(s)
|
||||||
if: ${{ fromJSON(env.PUSH) }}
|
if: ${{ fromJSON(env.PUSH) }}
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
|
4
.github/workflows/pre-commit.yml
vendored
4
.github/workflows/pre-commit.yml
vendored
@ -11,6 +11,6 @@ jobs:
|
|||||||
pre-commit:
|
pre-commit:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v3
|
||||||
- uses: pre-commit/action@v2.0.0
|
- uses: pre-commit/action@v2.0.0
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM haproxy:2.2-alpine
|
FROM haproxy:2.8-alpine
|
||||||
|
|
||||||
EXPOSE 2375
|
EXPOSE 2375
|
||||||
ENV ALLOW_RESTARTS=0 \
|
ENV ALLOW_RESTARTS=0 \
|
||||||
|
Loading…
Reference in New Issue
Block a user